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>
Enclosing class:
Graph<N,E>

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

    • getValue

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

      GraphNode<N,E> getNodeA()
    • getNodeB

      GraphNode<N,E> getNodeB()