Uses of Class
com.google.common.graph.ImmutableGraph.Builder
-
Packages that use ImmutableGraph.Builder Package Description com.google.common.graph An API for representing graph (node and edge) data. -
-
Uses of ImmutableGraph.Builder in com.google.common.graph
Methods in com.google.common.graph that return ImmutableGraph.Builder Modifier and Type Method Description ImmutableGraph.Builder<N>
ImmutableGraph.Builder. addNode(N node)
Addsnode
if it is not already present.<N1 extends N>
ImmutableGraph.Builder<N1>GraphBuilder. immutable()
Returns anImmutableGraph.Builder
with the properties of thisGraphBuilder
.ImmutableGraph.Builder<N>
ImmutableGraph.Builder. putEdge(EndpointPair<N> endpoints)
Adds an edge connectingendpoints
(in the order, if any, specified byendpoints
) if one is not already present.ImmutableGraph.Builder<N>
ImmutableGraph.Builder. putEdge(N nodeU, N nodeV)
Adds an edge connectingnodeU
tonodeV
if one is not already present.
-