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