V- the graph vertex type
E- the graph edge type
G- type of the resulting graph
B- type of this builder
public abstract class DirectedGraphBuilderBase<V,E,G extends DirectedGraph<V,E>,B extends DirectedGraphBuilderBase<V,E,G,B>> extends AbstractGraphBuilder<V,E,G,B>
|Constructor and Description|
Creates a builder based on
|Modifier and Type||Method and Description|
Build an unmodifiable version graph.
addEdge, addEdge, addEdgeChain, addGraph, addVertex, addVertices, build, removeEdge, removeEdge, removeVertex, removeVertices, self
public DirectedGraphBuilderBase(G baseGraph)
baseGraphmust be mutable.
baseGraph- the graph object to base building on
public UnmodifiableDirectedGraph<V,E> buildUnmodifiable()
Copyright © 2017. All rights reserved.