graph-builder
Version:
A graph builder library for modeling abstract graph structures.
18 lines (17 loc) • 733 B
TypeScript
import { ForwardingGraph } from "./ForwardingGraph";
import { BaseGraph } from "./BaseGraph";
/**
* A {@link Graph} whose elements and structural relationships will never change. Instances of this
* class may be obtained with {@link copyOf}.
*
* <p>See the Guava User's Guide's <a
* href="https://github.com/google/guava/wiki/GraphsExplained#immutable-implementations">discussion
* of the `Immutable*` types</a> for more information on the properties and guarantees
* provided by this class.
*/
export declare class ImmutableGraph<N> extends ForwardingGraph<N> {
private backingGraph;
constructor(backingGraph: BaseGraph<N>);
/** Returns an immutable copy of `graph`. */
protected delegate(): BaseGraph<N>;
}