T
- is the original type of the base iterator.F
- is the type of this iterator.StreamIterator<T>
, Iterator<T>
public class StackedStreamIterator<T,F> extends AbstractStreamIterator<F>
Constructor | Description |
---|---|
StackedStreamIterator(Iterator<T> origin,
Function<T,? extends Iterator<F>> creator) |
Modifier and Type | Method | Description |
---|---|---|
protected F |
findNext() |
This method looks for the next entry to be returned.
|
hasNext, next, peek
forEachRemaining, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
empty, filter, flatMap, map, of, spliterator, stream
protected F findNext()
AbstractStreamIterator
null
is returned.findNext
in class AbstractStreamIterator<F>
null
is returned in case no more
entries are available.Copyright © 2017–2018 PureSol Technologies. All rights reserved.