Class EdgeSeed

    • Method Detail

      • getSource

        public Object getSource()
        Description copied from interface: EdgeId
        Get the source vertex.
        Specified by:
        getSource in interface EdgeId
        Returns:
        the object at the edge source
      • getDestination

        public Object getDestination()
        Description copied from interface: EdgeId
        Get the destination vertex.
        Specified by:
        getDestination in interface EdgeId
        Returns:
        the object at the edge destination
      • getDirectedType

        public DirectedType getDirectedType()
        Description copied from interface: EdgeId
        Get the directionality of the current edge.
        Specified by:
        getDirectedType in interface EdgeId
        Returns:
        the directed type
      • getMatchedVertex

        public EdgeId.MatchedVertex getMatchedVertex()
        Description copied from interface: EdgeId
        Get the vertex which is to be reported if a matched vertex is requested.
        Specified by:
        getMatchedVertex in interface EdgeId
        Returns:
        the matched vertex
      • equals

        public boolean equals​(Object obj)
        Note this does not include the matchedVertex field.
        Overrides:
        equals in class Object
        Parameters:
        obj - the reference object with which to compare.
        Returns:
        true if this object is the same as the obj argument; false otherwise.
      • hashCode

        public int hashCode()
        Note this does not include the matchedVertex field.
        Overrides:
        hashCode in class Object
        Returns:
        a hash code value for this edge.