class NodeIdAccessor extends Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
epoch |
(package private) Graph |
graph |
Constructor and Description |
---|
NodeIdAccessor(Graph graph) |
Modifier and Type | Method and Description |
---|---|
(package private) Graph |
getGraph() |
int |
getNodeId(Node node)
Gets the identifier for a node.
|
boolean |
verifyIdsAreStable()
Verifies that node identifiers have not changed since this object was created.
|
public NodeIdAccessor(Graph graph)
public boolean verifyIdsAreStable()
VerificationError
- if the check fails