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