public class FilterIterator<T> extends WrappedIterator<T>
current| Constructor and Description |
|---|
FilterIterator(Iterator<T> origin,
java.util.function.Function<T,Boolean> filter) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
fetch() |
protected Iterator<T> |
originIterator() |
close, close, hasNext, metadata, next, none, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic FilterIterator(Iterator<T> origin, java.util.function.Function<T,Boolean> filter)
protected Iterator<T> originIterator()
originIterator in class WrappedIterator<T>protected final boolean fetch()
fetch in class WrappedIterator<T>Copyright © 2021. All rights reserved.