public class FilteringIterator<T> extends DelegatingUnaryIterator<T>
iterator
Constructor and Description |
---|
FilteringIterator(java.util.Iterator<T> iterator,
java.util.function.Predicate<? super T> predicate) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
remove