public abstract class AbstractIterator<T> extends Object implements Iterator<T>
computeNext() method.| Modifier and Type | Field and Description |
|---|---|
protected static Object |
NO_MORE_ELEMENTS |
| Constructor and Description |
|---|
AbstractIterator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
computeNext() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
protected AbstractIterator<T> |
reset() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected static final Object NO_MORE_ELEMENTS
protected abstract Object computeNext()
protected AbstractIterator<T> reset()
Copyright © 2021. All rights reserved.