Class UnmodifiableDirectedGraph<V,E>

All Implemented Interfaces:
Serializable, DirectedGraph<V,E>, Graph<V,E>

public class UnmodifiableDirectedGraph<V,E> extends UnmodifiableGraph<V,E> implements DirectedGraph<V,E>
A directed graph that cannot be modified.
See Also:
  • Constructor Details

    • UnmodifiableDirectedGraph

      public UnmodifiableDirectedGraph(DirectedGraph<V,E> g)
      Creates a new unmodifiable directed graph based on the specified backing graph.
      Parameters:
      g - the backing graph on which an unmodifiable graph is to be created.