T - the type of items in the iteration.public class FilteringIterator<T> extends PrefetchingIterator<T>
| Constructor and Description |
|---|
FilteringIterator(Iterator<T> source,
Predicate<T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
fetchNextOrNull() |
static <T> Iterator<T> |
noDuplicates(Iterator<T> source) |
static <T> Iterator<T> |
notNull(Iterator<T> source) |
hasNext, next, peek, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected T fetchNextOrNull()
fetchNextOrNull in class PrefetchingIterator<T>Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.