Uses of Class
com.google.common.graph.ImmutableValueGraph.Builder
-
Uses of ImmutableValueGraph.Builder in com.google.common.graph
Modifier and TypeMethodDescriptionAddsnode
if it is not already present.<N1 extends N,
V1 extends V>
ImmutableValueGraph.Builder<N1, V1> ValueGraphBuilder.immutable()
Returns anImmutableValueGraph.Builder
with the properties of thisValueGraphBuilder
.ImmutableValueGraph.Builder.putEdgeValue
(EndpointPair<N> endpoints, V value) Adds an edge connectingendpoints
if one is not already present, and sets a value for that edge tovalue
(overwriting the existing value, if any).ImmutableValueGraph.Builder.putEdgeValue
(N nodeU, N nodeV, V value) Adds an edge connectingnodeU
tonodeV
if one is not already present, and sets a value for that edge tovalue
(overwriting the existing value, if any).