Package org.jgrapht.util
Class VertexPair<V>
java.lang.Object
org.jgrapht.util.VertexPair<V>
Representation of a pair of vertices; to be replaced by Pairinvalid input: '<'V,V> if Sun ever
gets around to adding Pair to java.util.
- Author:
- Soren invalid input: '<'soren@tanesha.net>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VertexPair
-
-
Method Details
-
getFirst
-
getSecond
-
hasVertex
Assess if this pair contains the vertex.- Parameters:
v- The vertex in question- Returns:
- true if contains, false otherwise
-
getOther
-
toString
-
equals
-
hashCode
public int hashCode()
-