Class PrimitiveIntCollections.PrimitiveIntFilteringIterator
- java.lang.Object
-
- org.neo4j.graphalgo.core.utils.collection.primitive.PrimitiveIntCollections.PrimitiveIntBaseIterator
-
- org.neo4j.graphalgo.core.utils.collection.primitive.PrimitiveIntCollections.PrimitiveIntFilteringIterator
-
- All Implemented Interfaces:
java.util.function.IntPredicate
,PrimitiveIntIterator
- Enclosing class:
- PrimitiveIntCollections
public abstract static class PrimitiveIntCollections.PrimitiveIntFilteringIterator extends PrimitiveIntCollections.PrimitiveIntBaseIterator implements java.util.function.IntPredicate
-
-
Constructor Summary
Constructors Constructor Description PrimitiveIntFilteringIterator(PrimitiveIntIterator source)
-
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(int testItem)
-
Methods inherited from class org.neo4j.graphalgo.core.utils.collection.primitive.PrimitiveIntCollections.PrimitiveIntBaseIterator
hasNext, next, next
-
-
-
-
Constructor Detail
-
PrimitiveIntFilteringIterator
public PrimitiveIntFilteringIterator(PrimitiveIntIterator source)
-
-
Method Detail
-
fetchNext
protected boolean fetchNext()
Description copied from class:PrimitiveIntCollections.PrimitiveIntBaseIterator
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 usingPrimitiveIntCollections.PrimitiveIntBaseIterator.next(int)
.- Specified by:
fetchNext
in classPrimitiveIntCollections.PrimitiveIntBaseIterator
-
test
public abstract boolean test(int testItem)
- Specified by:
test
in interfacejava.util.function.IntPredicate
-
-