V - the graph vertex typeE - the graph edge typeG - type of the resulting graphB - type of this builderpublic 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, addEdge, addEdgeChain, addGraph, addVertex, addVertices, build, removeEdge, removeEdge, removeVertex, removeVertices, selfpublic DirectedGraphBuilderBase(G baseGraph)
baseGraph. baseGraph must be mutable.baseGraph - the graph object to base building onpublic UnmodifiableDirectedGraph<V,E> buildUnmodifiable()
buildUnmodifiable in class AbstractGraphBuilder<V,E,G extends DirectedGraph<V,E>,B extends DirectedGraphBuilderBase<V,E,G,B>>AbstractGraphBuilder.build()Copyright © 2017. All rights reserved.