public abstract class UndirectedGraphBuilderBase<V,E,G extends UndirectedGraph<V,E>,B extends UndirectedGraphBuilderBase<V,E,G,B>> extends AbstractGraphBuilder<V,E,G,B>
UndirectedGraphBuilder
for extending.graph
Constructor and Description |
---|
UndirectedGraphBuilderBase(G baseGraph)
Creates a builder based on
baseGraph . |
Modifier and Type | Method and Description |
---|---|
UnmodifiableUndirectedGraph<V,E> |
buildUnmodifiable()
Build an unmodifiable version graph.
|
addEdge, addEdgeChain, addGraph, addVertex, addVertices, build, removeEdge, removeVertex, removeVertices, self
public UndirectedGraphBuilderBase(G baseGraph)
baseGraph
. baseGraph
must be
mutable.baseGraph
- the graph object to base building onpublic UnmodifiableUndirectedGraph<V,E> buildUnmodifiable()
AbstractGraphBuilder
buildUnmodifiable
in class AbstractGraphBuilder<V,E,G extends UndirectedGraph<V,E>,B extends UndirectedGraphBuilderBase<V,E,G,B>>
AbstractGraphBuilder.build()
Copyright © 2016. All rights reserved.