Class Edge

    • Constructor Detail

    • Method Detail

      • getFromId

        public NodeId getFromId()
      • getToId

        public NodeId getToId()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • copy

        public abstract Edge copy​(NodeId fromId,
                                  NodeId toId)
        Returns a copy of the edge with new node IDs.
        Parameters:
        fromId - new ID of the 'from' node
        toId - new ID of the 'to' node
        Returns:
        copy of the edge with the new node IDs