Class 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 of UnorderedPair
    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 Detail

      • serialVersionUID

        private static final long serialVersionUID
        Deprecated.
        See Also:
        Constant Field Values
    • 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>