public abstract class AbstractIterator<T> extends Object implements Iterator<T>
Modifier and Type | Field and Description |
---|---|
protected T |
current |
protected boolean |
exhausted |
protected Iterator<T> |
iterator |
protected boolean |
loaded |
Constructor and Description |
---|
AbstractIterator(Iterator<T> parentIterator) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
protected abstract void |
loadNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected T current
protected boolean loaded
protected boolean exhausted