V - the graph vertex typepublic class UnorderedVertexPair<V> extends VertexPair<V>
n1, n2| Constructor and Description |
|---|
UnorderedVertexPair(V n1,
V n2)
Create a unordered new vertex pair
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
elementEquals, getFirst, getOther, getSecond, hasVertexpublic String toString()
toString in class VertexPair<V>public boolean equals(Object o)
equals in class VertexPair<V>public int hashCode()
hashCode in class VertexPair<V>Copyright © 2016. All rights reserved.