public class NIteratorUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NIteratorUtils.NIteratorOnClose<T> |
| Constructor and Description |
|---|
NIteratorUtils() |
| 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.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> NIteratorFromJavaIterator<T> |
collector(Iterator<T> it) |
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> 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.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> |
safePospone(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) |
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> safePospone(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> NIteratorFromJavaIterator<T> collector(Iterator<T> it)
public static <T> net.thevpc.nuts.util.NIterator<T> nullifyIfEmpty(net.thevpc.nuts.util.NIterator<T> other)
Copyright © 2026 vpc open source initiative. All rights reserved.