Package org.neo4j.graphalgo.core.huge
Class TransientAdjacencyList.Cursor
- java.lang.Object
-
- org.neo4j.graphalgo.core.loading.MutableIntValue
-
- org.neo4j.graphalgo.core.huge.TransientAdjacencyList.Cursor
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,PropertyCursor
- Enclosing class:
- TransientAdjacencyList
public static final class TransientAdjacencyList.Cursor extends MutableIntValue implements PropertyCursor
-
-
Field Summary
-
Fields inherited from class org.neo4j.graphalgo.core.loading.MutableIntValue
value
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
hasNextLong()
Return true iff there is at least one more target to decode.int
length()
long
nextLong()
Read the next target id.
-
-
-
Method Detail
-
length
public int length()
-
hasNextLong
public boolean hasNextLong()
Description copied from interface:PropertyCursor
Return true iff there is at least one more target to decode.- Specified by:
hasNextLong
in interfacePropertyCursor
-
nextLong
public long nextLong()
Description copied from interface:PropertyCursor
Read the next target id. It is undefined behavior if this is called afterPropertyCursor.hasNextLong()
returnsfalse
.- Specified by:
nextLong
in interfacePropertyCursor
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacePropertyCursor
-
-