T
- the type of objects produced by this Iteratorpublic abstract class FilterIterator<T> extends java.lang.Object implements CloseableIterator<T>
Modifier | Constructor and Description |
---|---|
protected |
FilterIterator(java.util.Iterator<T> items) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
T |
next() |
protected abstract boolean |
shouldKeep(T item) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
count, empty, transform, withClose
protected FilterIterator(java.util.Iterator<T> items)