Interface Graph.GraphEdge<N,E>

Type Parameters:
N - Value type that the graph node stores.
E - Value type that the graph edge stores.
All Superinterfaces:
Annotatable
All Known Subinterfaces:
DiGraph.DiGraphEdge<N,E>, UndiGraph.UndiGraphEdge<N,E>
All Known Implementing Classes:
LinkedDirectedGraph.LinkedDiGraphEdge
Enclosing class:
Graph<N,E>

public static interface Graph.GraphEdge<N,E> extends Annotatable
A generic edge.
  • Method Details Link icon

    • getValue Link icon

      E getValue()
      Retrieves the edge's value.
      Returns:
      The value.
    • getNodeA Link icon

      GraphNode<N,E> getNodeA()
    • getNodeB Link icon

      GraphNode<N,E> getNodeB()