public class VertexId extends java.lang.Object implements java.lang.Comparable<VertexId>, VariableReference
Ids also encapsulate the notion of "Depth". When we have graphs within graphs, the depth tells us at what level the graph exists - ie depth 1 is the outermost graph, depth 2 is a graph within a graph etc.
| Modifier and Type | Method and Description |
|---|---|
void |
addPrefix(VertexId prefix) |
int |
compareTo(VertexId that) |
int |
getIndentation() |
long[] |
getValue() |
boolean |
prefixMatches(VertexId prefix) |
void |
resetID() |
static void |
resetIdGenerator() |
java.lang.String |
toString() |
java.lang.String |
toStringReference() |
public void addPrefix(VertexId prefix)
public void resetID()
public int compareTo(VertexId that)
compareTo in interface java.lang.Comparable<VertexId>public boolean prefixMatches(VertexId prefix)
public java.lang.String toString()
toString in class java.lang.Objectpublic int getIndentation()
public long[] getValue()
public java.lang.String toStringReference()
toStringReference in interface VariableReferencepublic static void resetIdGenerator()