abstract class AbstractGraphBuilder<N>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
allowsSelfLoops |
(package private) boolean |
directed |
(package private) Optional<java.lang.Integer> |
expectedNodeCount |
(package private) ElementOrder<N> |
incidentEdgeOrder |
(package private) ElementOrder<N> |
nodeOrder |
Constructor and Description |
---|
AbstractGraphBuilder(boolean directed)
Creates a new instance with the specified edge directionality.
|
final boolean directed
boolean allowsSelfLoops
ElementOrder<N> nodeOrder
ElementOrder<N> incidentEdgeOrder
Optional<java.lang.Integer> expectedNodeCount
AbstractGraphBuilder(boolean directed)
directed
- if true, creates an instance for graphs whose edges are each directed; if
false, creates an instance for graphs whose edges are each undirected.