Package org.neo4j.gds.api
Interface NodeIterator
-
- All Known Implementing Classes:
CSRGraphAdapter
,GraphAdapter
,HugeGraph
,HugeIdMap
,NodeFilteredGraph
,UnionGraph
public interface NodeIterator
Iterate over each node Id until either all nodes have been consumed or the consumer decides to stop the iteration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
forEachNode(java.util.function.LongPredicate consumer)
Iterate over each nodeIdPrimitiveLongIterator
nodeIterator()
-
-
-
Method Detail
-
forEachNode
void forEachNode(java.util.function.LongPredicate consumer)
Iterate over each nodeId
-
nodeIterator
PrimitiveLongIterator nodeIterator()
-
-