public abstract class FilterIterator<E> extends Object implements Iterator<E>
Constructor and Description |
---|
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 © 2001–2015 Aduna. All rights reserved.