V- the graph vertex type
E- the graph edge type
G- type of the resulting graph
B- type of this builder
public abstract class UndirectedGraphBuilderBase<V,E,G extends UndirectedGraph<V,E>,B extends UndirectedGraphBuilderBase<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 UndirectedGraphBuilderBase(G baseGraph)
baseGraphmust be mutable.
baseGraph- the graph object to base building on
public UnmodifiableUndirectedGraph<V,E> buildUnmodifiable()
Copyright © 2017. All rights reserved.