public class NIteratorsImpl extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NIteratorsImpl.NIteratorOnClose<T> |
| Constructor and Description |
|---|
NIteratorsImpl() |
| Modifier and Type | Method and Description |
|---|---|
static <T> net.thevpc.nuts.util.NIterator<T> |
autoClosable(net.thevpc.nuts.util.NIterator<T> t,
net.thevpc.nuts.concurrent.NRunnable close) |
static <T> net.thevpc.nuts.util.NIteratorBuilder<T> |
builder(Iterator<T> t) |
static <T> net.thevpc.nuts.util.NIteratorBuilder<T> |
builderOfCoalesce(List<net.thevpc.nuts.util.NIterator<? extends T>> t) |
static <T> net.thevpc.nuts.util.NIteratorBuilder<T> |
builderOfConcat(List<net.thevpc.nuts.util.NIterator<? extends T>> t) |
static <T> net.thevpc.nuts.util.NIteratorBuilder<T> |
builderOfRunnable(net.thevpc.nuts.concurrent.NRunnable t) |
static <T> net.thevpc.nuts.util.NIterator<T> |
coalesce(List<net.thevpc.nuts.util.NIterator<? extends T>> all) |
static <T> net.thevpc.nuts.util.NIterator<T> |
coalesce(net.thevpc.nuts.util.NIterator<? extends T>... all) |
static <T> net.thevpc.nuts.util.NIterator<T> |
coalesce2(List<net.thevpc.nuts.util.NIterator<T>> all) |
static <T> net.thevpc.nuts.util.NIterator<T> |
collector(Iterator<T> it,
Consumer<T> consumer) |
static <T> net.thevpc.nuts.util.NIterator<T> |
concat(List<net.thevpc.nuts.util.NIterator<? extends T>> all) |
static <T> net.thevpc.nuts.util.NIterator<T> |
concat(net.thevpc.nuts.util.NIterator<? extends T>... all) |
static <T> net.thevpc.nuts.util.NIterator<T> |
concatLists(List<net.thevpc.nuts.util.NIterator<? extends T>>... all) |
static <F,T> net.thevpc.nuts.util.NIterator<T> |
convertNonNull(net.thevpc.nuts.util.NIterator<F> from,
Function<F,T> converter,
String name) |
static <F,T> net.thevpc.nuts.util.NIterator<F> |
distinct(net.thevpc.nuts.util.NIterator<F> it,
Function<F,T> converter) |
static <T> net.thevpc.nuts.util.NIterator<T> |
distinct(net.thevpc.nuts.util.NIterator<T> it) |
static <T> net.thevpc.nuts.util.NIteratorBuilder<T> |
emptyBuilder() |
static <T> net.thevpc.nuts.util.NIterator<T> |
emptyIterator() |
static <T> boolean |
isNullOrEmpty(Iterator<T> t) |
static <T> net.thevpc.nuts.util.NIterator<T> |
nonNull(net.thevpc.nuts.util.NIterator<T> t) |
static <T> net.thevpc.nuts.util.NIterator<T> |
nullifyIfEmpty(net.thevpc.nuts.util.NIterator<T> other) |
static <T> net.thevpc.nuts.util.NIteratorBuilder<T> |
ofArrayValues(T[] t,
net.thevpc.nuts.elem.NElement n) |
static <T> net.thevpc.nuts.util.NIteratorBuilder<T> |
ofArrayValues(T[] t,
String n) |
static <T> net.thevpc.nuts.util.NIteratorBuilder<T> |
ofArrayValues(T[] t,
Supplier<net.thevpc.nuts.elem.NElement> n) |
static <T> net.thevpc.nuts.util.NIteratorBuilder<T> |
ofFlatMap(net.thevpc.nuts.util.NIterator<? extends Collection<T>> from) |
static <T> net.thevpc.nuts.util.NIteratorBuilder<T> |
ofRunnable(Runnable t,
String n) |
static <T> net.thevpc.nuts.util.NIteratorBuilder<T> |
ofSupplier(Supplier<Iterator<T>> from,
Supplier<net.thevpc.nuts.elem.NElement> name) |
static <T> net.thevpc.nuts.util.NIterator<T> |
safe(net.thevpc.nuts.util.NIteratorErrorHandlerType type,
net.thevpc.nuts.util.NIterator<T> t) |
static <T> net.thevpc.nuts.util.NIterator<T> |
safeIgnore(net.thevpc.nuts.util.NIterator<T> t) |
static <T> net.thevpc.nuts.util.NIterator<T> |
safePostpone(net.thevpc.nuts.util.NIterator<T> t) |
static <T> net.thevpc.nuts.util.NIterator<T> |
sort(net.thevpc.nuts.util.NIterator<T> it,
net.thevpc.nuts.util.NComparator<T> c,
boolean removeDuplicates) |
static <T> List<T> |
toList(Iterator<T> it) |
static <T> Set<T> |
toSet(net.thevpc.nuts.util.NIterator<T> it) |
static <T> Set<T> |
toTreeSet(net.thevpc.nuts.util.NIterator<T> it,
net.thevpc.nuts.util.NComparator<T> c) |
static <T> net.thevpc.nuts.util.NIterator<T> |
withDescription(net.thevpc.nuts.util.NIterator<T> base,
Supplier<net.thevpc.nuts.elem.NElement> description,
Runnable onClose) |
public static <T> net.thevpc.nuts.util.NIterator<T> withDescription(net.thevpc.nuts.util.NIterator<T> base,
Supplier<net.thevpc.nuts.elem.NElement> description,
Runnable onClose)
public static <T> net.thevpc.nuts.util.NIterator<T> autoClosable(net.thevpc.nuts.util.NIterator<T> t,
net.thevpc.nuts.concurrent.NRunnable close)
public static <T> net.thevpc.nuts.util.NIterator<T> safe(net.thevpc.nuts.util.NIteratorErrorHandlerType type,
net.thevpc.nuts.util.NIterator<T> t)
public static <T> net.thevpc.nuts.util.NIterator<T> safeIgnore(net.thevpc.nuts.util.NIterator<T> t)
public static <T> net.thevpc.nuts.util.NIterator<T> safePostpone(net.thevpc.nuts.util.NIterator<T> t)
public static <T> boolean isNullOrEmpty(Iterator<T> t)
public static <T> net.thevpc.nuts.util.NIterator<T> nonNull(net.thevpc.nuts.util.NIterator<T> t)
public static <T> net.thevpc.nuts.util.NIterator<T> concat(List<net.thevpc.nuts.util.NIterator<? extends T>> all)
public static <T> net.thevpc.nuts.util.NIterator<T> coalesce2(List<net.thevpc.nuts.util.NIterator<T>> all)
public static <T> net.thevpc.nuts.util.NIterator<T> coalesce(net.thevpc.nuts.util.NIterator<? extends T>... all)
public static <T> net.thevpc.nuts.util.NIterator<T> concat(net.thevpc.nuts.util.NIterator<? extends T>... all)
public static <T> net.thevpc.nuts.util.NIterator<T> concatLists(List<net.thevpc.nuts.util.NIterator<? extends T>>... all)
public static <T> net.thevpc.nuts.util.NIterator<T> coalesce(List<net.thevpc.nuts.util.NIterator<? extends T>> all)
public static <F,T> net.thevpc.nuts.util.NIterator<T> convertNonNull(net.thevpc.nuts.util.NIterator<F> from,
Function<F,T> converter,
String name)
public static <T> Set<T> toSet(net.thevpc.nuts.util.NIterator<T> it)
public static <T> Set<T> toTreeSet(net.thevpc.nuts.util.NIterator<T> it, net.thevpc.nuts.util.NComparator<T> c)
public static <T> net.thevpc.nuts.util.NIterator<T> sort(net.thevpc.nuts.util.NIterator<T> it,
net.thevpc.nuts.util.NComparator<T> c,
boolean removeDuplicates)
public static <T> net.thevpc.nuts.util.NIterator<T> distinct(net.thevpc.nuts.util.NIterator<T> it)
public static <F,T> net.thevpc.nuts.util.NIterator<F> distinct(net.thevpc.nuts.util.NIterator<F> it,
Function<F,T> converter)
public static <T> net.thevpc.nuts.util.NIterator<T> collector(Iterator<T> it, Consumer<T> consumer)
public static <T> net.thevpc.nuts.util.NIterator<T> nullifyIfEmpty(net.thevpc.nuts.util.NIterator<T> other)
public static <T> net.thevpc.nuts.util.NIteratorBuilder<T> builderOfCoalesce(List<net.thevpc.nuts.util.NIterator<? extends T>> t)
public static <T> net.thevpc.nuts.util.NIteratorBuilder<T> builderOfConcat(List<net.thevpc.nuts.util.NIterator<? extends T>> t)
public static <T> net.thevpc.nuts.util.NIteratorBuilder<T> builder(Iterator<T> t)
public static <T> net.thevpc.nuts.util.NIteratorBuilder<T> builderOfRunnable(net.thevpc.nuts.concurrent.NRunnable t)
public static <T> net.thevpc.nuts.util.NIteratorBuilder<T> ofRunnable(Runnable t, String n)
public static <T> net.thevpc.nuts.util.NIteratorBuilder<T> ofSupplier(Supplier<Iterator<T>> from, Supplier<net.thevpc.nuts.elem.NElement> name)
public static <T> net.thevpc.nuts.util.NIteratorBuilder<T> ofArrayValues(T[] t,
net.thevpc.nuts.elem.NElement n)
public static <T> net.thevpc.nuts.util.NIteratorBuilder<T> ofArrayValues(T[] t,
String n)
public static <T> net.thevpc.nuts.util.NIteratorBuilder<T> ofArrayValues(T[] t,
Supplier<net.thevpc.nuts.elem.NElement> n)
public static <T> net.thevpc.nuts.util.NIterator<T> emptyIterator()
public static <T> net.thevpc.nuts.util.NIteratorBuilder<T> emptyBuilder()
public static <T> net.thevpc.nuts.util.NIteratorBuilder<T> ofFlatMap(net.thevpc.nuts.util.NIterator<? extends Collection<T>> from)
Copyright © 2026 vpc open source initiative. All rights reserved.