Constructor and Description |
---|
FilteredIterator(Iterator<T> iterator,
java.util.function.Predicate<T> filter) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
static void |
main(String[] args) |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public FilteredIterator(Iterator<T> iterator, java.util.function.Predicate<T> filter)