Package | Description |
---|---|
com.google.common.graph |
An API for representing graph (node and edge) data.
|
Modifier and Type | Method and Description |
---|---|
ImmutableValueGraph.Builder<N,V> |
ImmutableValueGraph.Builder.addNode(N node)
Adds
node if it is not already present. |
<N1 extends N,V1 extends V> |
ValueGraphBuilder.immutable()
Returns an
ImmutableValueGraph.Builder with the properties of this ValueGraphBuilder . |
ImmutableValueGraph.Builder<N,V> |
ImmutableValueGraph.Builder.putEdgeValue(EndpointPair<N> endpoints,
V value)
Adds an edge connecting
endpoints if one is not already present, and sets a value for
that edge to value (overwriting the existing value, if any). |
ImmutableValueGraph.Builder<N,V> |
ImmutableValueGraph.Builder.putEdgeValue(N nodeU,
N nodeV,
V value)
Adds an edge connecting
nodeU to nodeV if one is not already present, and
sets a value for that edge to value (overwriting the existing value, if any). |
Copyright © 2010–2020. All rights reserved.