Class UnmodifiableUndirectedGraph<V,E>

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

public class UnmodifiableUndirectedGraph<V,E> extends UnmodifiableGraph<V,E> implements UndirectedGraph<V,E>
An undirected graph that cannot be modified.
See Also:
  • Constructor Details

    • UnmodifiableUndirectedGraph

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