Class ImmutableGraph<N>

Type Parameters:
N - Node parameter type
All Implemented Interfaces:
BaseGraph<N>, Graph<N>, PredecessorsFunction<N>, SuccessorsFunction<N>

public class ImmutableGraph<N> extends ForwardingGraph<N>
A Graph whose elements and structural relationships will never change. Instances of this class may be obtained with copyOf(Graph).

See the Guava User's Guide's discussion of the Immutable* types for more information on the properties and guarantees provided by this class.

Since:
20.0