Package apoc.util.collection
Class FilteringIterator<T>
java.lang.Object
apoc.util.collection.PrefetchingIterator<T>
apoc.util.collection.FilteringIterator<T>
- Type Parameters:
T- the type of items in the iteration.
- All Implemented Interfaces:
Iterator<T>
An iterator which filters another iterator, only letting items with certain
criteria pass through. All iteration/filtering is done lazily.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class apoc.util.collection.PrefetchingIterator
hasNext, next, peek, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
FilteringIterator
-
-
Method Details
-
fetchNextOrNull
- Specified by:
fetchNextOrNullin classPrefetchingIterator<T>
-