public class FilterIterator<T> extends Object implements Iterator<T>, Closeable
| Constructor and Description |
|---|
FilterIterator(Iterator<T> it) |
FilterIterator(Iterator<T> it,
Predicate<T> filter) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
checkNext() |
void |
close() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic FilterIterator(Iterator<T> it)
public FilterIterator(Iterator<T> it, Predicate<T> filter)
public void close() throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionApache Camel