T - the type of items in the iteration.public class CombiningIterator<T> extends PrefetchingIterator<T>
Iterators, making them look like they were
one big iterator. All iteration/combining is done lazily.| Constructor and Description |
|---|
CombiningIterator(Iterable<? extends Iterator<T>> iterators) |
CombiningIterator(Iterator<? extends Iterator<T>> iterators) |
CombiningIterator(T first,
Iterator<T> rest) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<T> |
currentIterator() |
protected T |
fetchNextOrNull() |
protected Iterator<T> |
nextIteratorOrNull() |
hasNext, next, peek, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected T fetchNextOrNull()
fetchNextOrNull in class PrefetchingIterator<T>Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.