public final class FunctionIterator<T,V>
extends java.lang.Object
implements java.util.Iterator<V>
Iterator implementation to convert each item from the target
iterator to a new object applying the function on next().| Constructor and Description |
|---|
FunctionIterator(java.lang.Iterable<T> iterable,
reactor.function.Function<? super T,? extends V> function) |
FunctionIterator(java.util.Iterator<T> newIterator,
reactor.function.Function<? super T,? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
V |
next() |
void |
remove() |