Top Description Fields Constructors Methods
com.google.common.graph

pack-priv abstract Class AbstractGraphBuilder<N>

extends Object
Class Inheritance
Known Direct Subclasses
com.google.common.graph.GraphBuilder, com.google.common.graph.NetworkBuilder, com.google.common.graph.ValueGraphBuilder
Annotations
@ElementTypesAreNonnullByDefault
Imports
com.google.common.base.Optional

A base class for builders that construct graphs with user-defined properties.
Author
James Sexton

Field Summary

Modifier and TypeField and Description
pack-priv boolean
pack-priv final boolean
pack-priv Optional<Integer>
pack-priv ElementOrder<N>
pack-priv ElementOrder<N>

Constructor Summary

AccessConstructor and Description
pack-priv
AbstractGraphBuilder(boolean
if true, creates an instance for graphs whose edges are each directed; if false, creates an instance for graphs whose edges are each undirected.
directed
)

Creates a new instance with the specified edge directionality.

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

allowsSelfLoopsback to summary
pack-priv boolean allowsSelfLoops
directedback to summary
pack-priv final boolean directed
expectedNodeCountback to summary
pack-priv Optional<Integer> expectedNodeCount
incidentEdgeOrderback to summary
pack-priv ElementOrder<N> incidentEdgeOrder
nodeOrderback to summary
pack-priv ElementOrder<N> nodeOrder

Constructor Detail

AbstractGraphBuilderback to summary
pack-priv AbstractGraphBuilder(boolean directed)

Creates a new instance with the specified edge directionality.

Parameters
directed:boolean

if true, creates an instance for graphs whose edges are each directed; if false, creates an instance for graphs whose edges are each undirected.