public class ExtendableIterator<T> extends WrappedIterator<T>
current| Constructor and Description |
|---|
ExtendableIterator() |
ExtendableIterator(Iterator<T> itor) |
ExtendableIterator(Iterator<T> itor1,
Iterator<T> itor2) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ExtendableIterator<T> |
extend(Iterator<T> itor) |
protected boolean |
fetch() |
protected Iterator<?> |
originIterator() |
hasNext, next, none, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ExtendableIterator<T> extend(Iterator<T> itor)
public void close()
throws Exception
close in interface AutoCloseableclose in class WrappedIterator<T>Exceptionprotected Iterator<?> originIterator()
originIterator in class WrappedIterator<T>protected boolean fetch()
fetch in class WrappedIterator<T>Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.