public abstract class FilterIterator<E> extends Object implements Iterator<E>
Modifier | Constructor and Description |
---|---|
protected |
FilterIterator(Iterator<? extends E> iter) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
accept(E object)
Tests whether or not the specified object should be returned by this iterator.
|
boolean |
hasNext() |
E |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected abstract boolean accept(E object)
object
- The object to be tested.X
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.