Class PrimitiveLongCollections.PrimitiveLongFilteringIterator
- java.lang.Object
-
- org.neo4j.graphalgo.core.utils.collection.primitive.PrimitiveLongCollections.PrimitiveLongBaseIterator
-
- org.neo4j.graphalgo.core.utils.collection.primitive.PrimitiveLongCollections.PrimitiveLongFilteringIterator
-
- All Implemented Interfaces:
java.util.function.LongPredicate
,PrimitiveLongIterator
- Direct Known Subclasses:
PrimitiveLongCollections.PrimitiveLongResourceFilteringIterator
- Enclosing class:
- PrimitiveLongCollections
public abstract static class PrimitiveLongCollections.PrimitiveLongFilteringIterator extends PrimitiveLongCollections.PrimitiveLongBaseIterator implements java.util.function.LongPredicate
-
-
Field Summary
Fields Modifier and Type Field Description protected PrimitiveLongIterator
source
-
Fields inherited from class org.neo4j.graphalgo.core.utils.collection.primitive.PrimitiveLongCollections.PrimitiveLongBaseIterator
next
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected boolean
fetchNext()
Fetches the next item in this iterator.abstract boolean
test(long testItem)
-
Methods inherited from class org.neo4j.graphalgo.core.utils.collection.primitive.PrimitiveLongCollections.PrimitiveLongBaseIterator
hasNext, next, next
-
-
-
-
Field Detail
-
source
protected final PrimitiveLongIterator source
-
-
Method Detail
-
fetchNext
protected boolean fetchNext()
Description copied from class:PrimitiveLongCollections.PrimitiveLongBaseIterator
Fetches the next item in this iterator. Returns whether or not a next item was found. If a next item was found, that value must have been set inside the implementation of this method usingPrimitiveLongCollections.PrimitiveLongBaseIterator.next(long)
.- Specified by:
fetchNext
in classPrimitiveLongCollections.PrimitiveLongBaseIterator
-
test
public abstract boolean test(long testItem)
- Specified by:
test
in interfacejava.util.function.LongPredicate
-
-