public abstract class AbstractIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
Constructor and Description |
---|
AbstractIterator() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
computeNext() |
protected T |
endOfData() |
boolean |
hasNext() |
T |
next() |
T |
peek() |
void |
remove() |
protected abstract T computeNext()
protected final T endOfData()
public final boolean hasNext()
hasNext
in interface java.util.Iterator<T>
public final T peek()
public final void remove()
remove
in interface java.util.Iterator<T>