Modifier and Type | Method and Description |
---|---|
int |
compareTo(Vertex other)
Compare the vertex with another vertex instance
|
boolean |
equals(java.lang.Object obj)
Check if two objects are equal.
|
int |
hashCode()
Gets the hash code of the vertex
|
java.lang.String |
toString()
Gets the string representation of
Vertex |
public java.lang.String toString()
Vertex
toString
in class java.lang.Object
public int compareTo(Vertex other)
compareTo
in interface java.lang.Comparable<Vertex>
other
- public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- public int hashCode()
hashCode
in class java.lang.Object