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, waitforEachRemainingprotected abstract boolean accept(E object)
object - The object to be tested.XCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.