Class Graph.Edge.BaseEdge<T,U>

java.lang.Object
org.savantbuild.util.Graph.Edge.BaseEdge<T,U>
Type Parameters:
T - The node value type.
U - The edge value type.
All Implemented Interfaces:
Graph.Edge<T,U>
Enclosing interface:
Graph.Edge<T,U>

public static class Graph.Edge.BaseEdge<T,U> extends Object implements Graph.Edge<T,U>
Basic implementation of the Edge interface. Provides public final fields and public accessors.
  • Field Details

    • destination

      public final T destination
    • origin

      public final T origin
    • value

      public final U value
  • Constructor Details

    • BaseEdge

      public BaseEdge(T origin, T destination, U value)
  • Method Details