public class IteratorBuilder<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
static net.thevpc.nuts.NutsPredicate |
NON_BLANK |
static net.thevpc.nuts.NutsPredicate |
NON_NULL |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsIterator<T> |
build() |
IteratorBuilder<T> |
concat(IteratorBuilder<T> t) |
IteratorBuilder<T> |
concat(net.thevpc.nuts.NutsIterator<T> t) |
<V> IteratorBuilder<T> |
distinct() |
<V> IteratorBuilder<T> |
distinct(net.thevpc.nuts.NutsFunction<T,V> t) |
static <T> IteratorBuilder<T> |
emptyBuilder(net.thevpc.nuts.NutsSession session) |
static <T> net.thevpc.nuts.NutsIterator<T> |
emptyIterator() |
IteratorBuilder<T> |
filter(net.thevpc.nuts.NutsPredicate<? super T> t) |
IteratorBuilder<T> |
filter(Predicate<? super T> t,
Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> e) |
<V> IteratorBuilder<V> |
flatMap(net.thevpc.nuts.NutsFunction<? super T,? extends Iterator<? extends V>> fun) |
net.thevpc.nuts.NutsIterator<T> |
iterator() |
List<T> |
list() |
<V> IteratorBuilder<V> |
map(net.thevpc.nuts.NutsFunction<? super T,? extends V> t) |
<V> IteratorBuilder<V> |
mapMulti(net.thevpc.nuts.NutsFunction<T,List<V>> mapper) |
<V> IteratorBuilder<T> |
named(net.thevpc.nuts.NutsObjectElement nfo) |
<V> IteratorBuilder<T> |
named(String n) |
IteratorBuilder<String> |
notBlank() |
IteratorBuilder<T> |
notNull() |
static <T> IteratorBuilder<T> |
of(net.thevpc.nuts.NutsIterator<T> t,
net.thevpc.nuts.NutsSession session) |
static <T> IteratorBuilder<T> |
ofArrayValues(T[] t,
Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> n,
net.thevpc.nuts.NutsSession session) |
static <T> IteratorBuilder<T> |
ofArrayValues(T[] t,
net.thevpc.nuts.NutsElement n,
net.thevpc.nuts.NutsSession session) |
static <T> IteratorBuilder<T> |
ofArrayValues(T[] t,
String n,
net.thevpc.nuts.NutsSession session) |
static <T> IteratorBuilder<T> |
ofCoalesce(List<net.thevpc.nuts.NutsIterator<? extends T>> t,
net.thevpc.nuts.NutsSession session) |
static <T> IteratorBuilder<T> |
ofConcat(List<net.thevpc.nuts.NutsIterator<? extends T>> t,
net.thevpc.nuts.NutsSession session) |
static <T> IteratorBuilder<T> |
ofFlatMap(net.thevpc.nuts.NutsIterator<? extends Collection<T>> from,
net.thevpc.nuts.NutsSession session) |
static <T> IteratorBuilder<T> |
ofRunnable(net.thevpc.nuts.NutsRunnable t,
net.thevpc.nuts.NutsSession session) |
static <T> IteratorBuilder<T> |
ofRunnable(Runnable t,
net.thevpc.nuts.NutsElement n,
net.thevpc.nuts.NutsSession session) |
static <T> IteratorBuilder<T> |
ofRunnable(Runnable t,
String n,
net.thevpc.nuts.NutsSession session) |
static <T> IteratorBuilder<T> |
ofSupplier(Supplier<Iterator<T>> from,
Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> name,
net.thevpc.nuts.NutsSession session) |
IteratorBuilder<T> |
onFinish(net.thevpc.nuts.NutsRunnable r) |
IteratorBuilder<T> |
onStart(net.thevpc.nuts.NutsRunnable r) |
IteratorBuilder<T> |
safe(IteratorErrorHandlerType type) |
IteratorBuilder<T> |
safeIgnore() |
IteratorBuilder<T> |
safePostpone() |
<V> IteratorBuilder<T> |
sort(net.thevpc.nuts.NutsComparator<T> t,
boolean removeDuplicates) |
List<T> |
toList() |
public static final net.thevpc.nuts.NutsPredicate NON_NULL
public static final net.thevpc.nuts.NutsPredicate NON_BLANK
public static <T> IteratorBuilder<T> ofCoalesce(List<net.thevpc.nuts.NutsIterator<? extends T>> t, net.thevpc.nuts.NutsSession session)
public static <T> IteratorBuilder<T> ofConcat(List<net.thevpc.nuts.NutsIterator<? extends T>> t, net.thevpc.nuts.NutsSession session)
public static <T> IteratorBuilder<T> of(net.thevpc.nuts.NutsIterator<T> t, net.thevpc.nuts.NutsSession session)
public static <T> IteratorBuilder<T> ofRunnable(net.thevpc.nuts.NutsRunnable t, net.thevpc.nuts.NutsSession session)
public static <T> IteratorBuilder<T> ofRunnable(Runnable t, net.thevpc.nuts.NutsElement n, net.thevpc.nuts.NutsSession session)
public static <T> IteratorBuilder<T> ofRunnable(Runnable t, String n, net.thevpc.nuts.NutsSession session)
public static <T> IteratorBuilder<T> ofSupplier(Supplier<Iterator<T>> from, Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> name, net.thevpc.nuts.NutsSession session)
public static <T> IteratorBuilder<T> ofArrayValues(T[] t, net.thevpc.nuts.NutsElement n, net.thevpc.nuts.NutsSession session)
public static <T> IteratorBuilder<T> ofArrayValues(T[] t, String n, net.thevpc.nuts.NutsSession session)
public static <T> IteratorBuilder<T> ofArrayValues(T[] t, Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> n, net.thevpc.nuts.NutsSession session)
public static <T> net.thevpc.nuts.NutsIterator<T> emptyIterator()
public static <T> IteratorBuilder<T> emptyBuilder(net.thevpc.nuts.NutsSession session)
public static <T> IteratorBuilder<T> ofFlatMap(net.thevpc.nuts.NutsIterator<? extends Collection<T>> from, net.thevpc.nuts.NutsSession session)
public IteratorBuilder<T> filter(Predicate<? super T> t, Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> e)
public IteratorBuilder<T> filter(net.thevpc.nuts.NutsPredicate<? super T> t)
public IteratorBuilder<T> concat(IteratorBuilder<T> t)
public IteratorBuilder<T> concat(net.thevpc.nuts.NutsIterator<T> t)
public <V> IteratorBuilder<V> map(net.thevpc.nuts.NutsFunction<? super T,? extends V> t)
public <V> IteratorBuilder<V> flatMap(net.thevpc.nuts.NutsFunction<? super T,? extends Iterator<? extends V>> fun)
public <V> IteratorBuilder<V> mapMulti(net.thevpc.nuts.NutsFunction<T,List<V>> mapper)
public <V> IteratorBuilder<T> sort(net.thevpc.nuts.NutsComparator<T> t, boolean removeDuplicates)
public <V> IteratorBuilder<T> distinct()
public <V> IteratorBuilder<T> distinct(net.thevpc.nuts.NutsFunction<T,V> t)
public <V> IteratorBuilder<T> named(String n)
public <V> IteratorBuilder<T> named(net.thevpc.nuts.NutsObjectElement nfo)
public IteratorBuilder<T> safe(IteratorErrorHandlerType type)
public IteratorBuilder<T> safeIgnore()
public IteratorBuilder<T> safePostpone()
public IteratorBuilder<T> notNull()
public IteratorBuilder<String> notBlank()
public net.thevpc.nuts.NutsIterator<T> iterator()
public net.thevpc.nuts.NutsIterator<T> build()
public IteratorBuilder<T> onFinish(net.thevpc.nuts.NutsRunnable r)
public IteratorBuilder<T> onStart(net.thevpc.nuts.NutsRunnable r)
Copyright © 2022 vpc open source initiative. All rights reserved.