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