public abstract class LazyIterator<T> extends Object implements Iterator<T>
| Constructor and Description |
|---|
LazyIterator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
computeNext() |
protected T |
endOfData() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected final T endOfData()
computeNext() method, signals that there are no more
elements to returnprotected abstract T computeNext()
endOfData()
if there are no more elements to returnCopyright © 2025. All rights reserved.