
public abstract class TerminatingIterator<T> extends LookaheadIterator<T>
| Modifier and Type | Field and Description |
|---|---|
protected Iterator<T> |
iterator |
hasNext, nextItem| Constructor and Description |
|---|
TerminatingIterator(Iterator<T> iterator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
lookahead() |
abstract boolean |
terminate(T item) |
hasNext, nextremoveiteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingforEach, spliteratorCopyright © 2017. All rights reserved.