public class FlatMapIteratorForFunction<T,U> extends FlatMapIterator<T,U>
index, inputIterator, pushback
current, exhausted, iterator, loaded
Constructor and Description |
---|
FlatMapIteratorForFunction(Iterator<T> iterator,
Function<T,? extends Collection<U>> mapping) |
Modifier and Type | Method and Description |
---|---|
protected Collection<U> |
performMapping(T next) |
protected void |
setDelegate(T next) |
loadNext
hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected void setDelegate(T next)
setDelegate
in class FlatMapIterator<T,U>
protected Collection<U> performMapping(T next)
performMapping
in class FlatMapIterator<T,U>