Class Graph.BasePath<T>

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

public static class Graph.BasePath<T> extends Object implements Graph.Path<T>
A simple implementation for the Path interface. This takes a constructor parameter that is the Path list and shallow copies it to a new unmodifiable LinkedList.
  • Constructor Details

    • BasePath

      public BasePath(List<T> path)
  • Method Details