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, next
remove
iterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
Copyright © 2017. All rights reserved.