Interface Graph.Edge<T,U>

Type Parameters:
T - The node value type.
U - The edge value type.
All Known Implementing Classes:
Graph.Edge.BaseEdge
Enclosing interface:
Graph<T,U>

public static interface Graph.Edge<T,U>
Interface for edges in the graph. This interface is the edge information that is used by users of a Graph and often is not used internally to the graph itself. It abstracts the implementation details of the graph from the user.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Basic implementation of the Edge interface.
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
  • Method Details

    • getDestination

      T getDestination()
      Returns:
      The destination node value.
    • getOrigin

      T getOrigin()
      Returns:
      The origin node value.
    • getValue

      U getValue()
      Returns:
      The edge value.