Package org.jgrapht.util
Class UnorderedVertexPair<V>
- java.lang.Object
-
- org.jgrapht.util.VertexPair<V>
-
- org.jgrapht.util.UnorderedVertexPair<V>
-
- Type Parameters:
V
- the graph vertex type
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class UnorderedVertexPair<V> extends VertexPair<V>
Deprecated.in favor ofUnorderedPair
Representation of an unordered pair of vertices. For a given pair of vertices V u, V w, UnorderedVertexPair(u,w) equals UnorderedVertexPair(w,u).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
Deprecated.-
Fields inherited from class org.jgrapht.util.VertexPair
n1, n2
-
-
Constructor Summary
Constructors Constructor Description UnorderedVertexPair(V n1, V n2)
Deprecated.Create a unordered new vertex pair
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Deprecated.int
hashCode()
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class org.jgrapht.util.VertexPair
elementEquals, getFirst, getOther, getSecond, hasVertex
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classVertexPair<V>
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classVertexPair<V>
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classVertexPair<V>
-
-