- All Superinterfaces:
IndexedDirectedGraph
- All Known Subinterfaces:
IntAttributedIndexedBidiGraph
- All Known Implementing Classes:
ChunkedMutableIndexedBidiGraph,MutableIntAttributed16BitIndexedBidiGraph
This interface adds accessors for vertex data and arrow data that is
represented by an int.
-
Method Summary
Modifier and TypeMethodDescriptionintgetNextArrowAsInt(int v, int i) Returns the specified successor (next) arrow data of the specified vertex.intgetVertexDataAsInt(int vertex) Returns the data of the specified vertex.Methods inherited from interface org.jhotdraw8.graph.IndexedDirectedGraph
findIndexOfNextAsInt, getArrowCount, getNextAsInt, getNextCount, getVertexCount, isNextAsInt, nextVerticesEnumerator
-
Method Details
-
getNextArrowAsInt
int getNextArrowAsInt(int v, int i) Returns the specified successor (next) arrow data of the specified vertex.- Specified by:
getNextArrowAsIntin interfaceIndexedDirectedGraph- Parameters:
v- a vertexi- index of next vertex- Returns:
- the arrow data
-
getVertexDataAsInt
int getVertexDataAsInt(int vertex) Returns the data of the specified vertex.- Parameters:
vertex- a vertex- Returns:
- the vertex data
-