Uses of Class
com.google.common.graph.ImmutableNetwork.Builder
-
Packages that use ImmutableNetwork.Builder Package Description com.google.common.graph An API for representing graph (node and edge) data. -
-
Uses of ImmutableNetwork.Builder in com.google.common.graph
Methods in com.google.common.graph that return ImmutableNetwork.Builder Modifier and Type Method Description ImmutableNetwork.Builder<N,E>
ImmutableNetwork.Builder. addEdge(EndpointPair<N> endpoints, E edge)
Addsedge
connectingendpoints
.ImmutableNetwork.Builder<N,E>
ImmutableNetwork.Builder. addEdge(N nodeU, N nodeV, E edge)
Addsedge
connectingnodeU
tonodeV
.ImmutableNetwork.Builder<N,E>
ImmutableNetwork.Builder. addNode(N node)
Addsnode
if it is not already present.<N1 extends N,E1 extends E>
ImmutableNetwork.Builder<N1,E1>NetworkBuilder. immutable()
Returns anImmutableNetwork.Builder
with the properties of thisNetworkBuilder
.
-