Class VertexImpl.EdgesImpl

    • Field Detail

    • Constructor Detail

      • EdgesImpl

        public EdgesImpl()
    • Method Detail

      • addEdge

        public boolean addEdge​(Edge edge)
        #Add edge, do not invoke when parsing networks, this connection is auto-populated before the assignment starts based on the edge and its two vertices that have been registered.
        Specified by:
        addEdge in interface Vertex.Edges
        Parameters:
        edge - Edge to be added
        Returns:
        true when added, false when already present (and not added)
      • removeEdge

        public boolean removeEdge​(Edge edge)
        #Remove edge
        Specified by:
        removeEdge in interface Vertex.Edges
        Parameters:
        edge - Edge to be removed
        Returns:
        true when removed, false when not present (and not removed)
      • getEdges

        public Set<Edge> getEdges()
        #Returns a Set of Edge objects
        Specified by:
        getEdges in interface Vertex.Edges
        Returns:
        Set of Edge objects