Documentation of 'org.jgrapht.util.UnorderedVertexPair' Java class
UnorderedVertexPair
org.jgrapht.util

Class UnorderedVertexPair<V>

  • Type Parameters:
    V - the graph vertex type
    All Implemented Interfaces:
    java.io.Serializable

    Deprecated. 
    in favor of UnorderedPair

    @Deprecated
    public class UnorderedVertexPair<V>
    extends VertexPair<V>
    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
    • Constructor Detail

      • UnorderedVertexPair

        public UnorderedVertexPair(V n1,
                                   V n2)
        Deprecated. 
        Create a unordered new vertex pair
        Parameters:
        n1 - the first vertex
        n2 - the second vertex
    • Method Detail

      • toString

        public java.lang.String toString()
        Deprecated. 
        Overrides:
        toString in class VertexPair<V>
      • equals

        public boolean equals(java.lang.Object o)
        Deprecated. 
        Overrides:
        equals in class VertexPair<V>

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.