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, addEdgeChain, addGraph, addVertex, addVertices, build, 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 © 2016. All rights reserved.