Package | Description |
---|---|
com.google.common.graph |
An API for representing graph (node and edge) data.
|
Modifier and Type | Method and Description |
---|---|
ImmutableGraph.Builder<N> |
ImmutableGraph.Builder.addNode(N node)
Adds
node if it is not already present. |
<N1 extends N> |
GraphBuilder.immutable()
Returns an
ImmutableGraph.Builder with the properties of this GraphBuilder . |
ImmutableGraph.Builder<N> |
ImmutableGraph.Builder.putEdge(EndpointPair<N> endpoints)
Adds an edge connecting
endpoints (in the order, if any, specified by endpoints ) if one is not already present. |
ImmutableGraph.Builder<N> |
ImmutableGraph.Builder.putEdge(N nodeU,
N nodeV)
Adds an edge connecting
nodeU to nodeV if one is not already present. |
Copyright © 2010–2019. All rights reserved.