public class CombiningResourceIterator<T> extends CombiningIterator<T> implements ResourceIterator<T>
| Constructor and Description |
|---|
CombiningResourceIterator(Iterator<ResourceIterator<T>> iterators) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the iterator early, freeing associated resources
|
protected Iterator<T> |
nextIteratorOrNull() |
currentIterator, fetchNextOrNullhasNext, next, peek, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmap, streamforEachRemaining, hasNext, next, removepublic CombiningResourceIterator(Iterator<ResourceIterator<T>> iterators)
protected Iterator<T> nextIteratorOrNull()
nextIteratorOrNull in class CombiningIterator<T>public void close()
ResourceIteratorIt is an error to use the iterator after this has been called.
close in interface Resourceclose in interface ResourceIterator<T>close in interface AutoCloseableCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.