ImmutableNetwork.Builder<N,E> |
ImmutableNetwork.Builder.addEdge(EndpointPair<N> endpoints,
E edge) |
Adds edge connecting endpoints .
|
boolean |
MutableNetwork.addEdge(EndpointPair<N> endpoints,
E edge) |
Adds edge connecting endpoints .
|
E |
AbstractNetwork.edgeConnectingOrNull(EndpointPair<N> endpoints) |
|
E |
Network.edgeConnectingOrNull(EndpointPair<N> endpoints) |
Returns the single edge that directly connects endpoints (in the order, if any,
specified by endpoints ), if one is present, or null if no such edge exists.
|
Set<E> |
AbstractNetwork.edgesConnecting(EndpointPair<N> endpoints) |
|
Set<E> |
Network.edgesConnecting(EndpointPair<N> endpoints) |
Returns a live view of the set of edges that each directly connect endpoints (in the
order, if any, specified by endpoints ).
|
V |
ValueGraph.edgeValueOrDefault(EndpointPair<N> endpoints,
V defaultValue) |
Returns the value of the edge that connects endpoints (in the order, if any, specified
by endpoints ), if one is present; otherwise, returns defaultValue .
|
boolean |
AbstractNetwork.hasEdgeConnecting(EndpointPair<N> endpoints) |
|
boolean |
Graph.hasEdgeConnecting(EndpointPair<N> endpoints) |
Returns true if there is an edge that directly connects endpoints (in the order, if
any, specified by endpoints ).
|
boolean |
Network.hasEdgeConnecting(EndpointPair<N> endpoints) |
Returns true if there is an edge that directly connects endpoints (in the order, if
any, specified by endpoints ).
|
boolean |
ValueGraph.hasEdgeConnecting(EndpointPair<N> endpoints) |
Returns true if there is an edge that directly connects endpoints (in the order, if
any, specified by endpoints ).
|
protected boolean |
AbstractNetwork.isOrderingCompatible(EndpointPair<?> endpoints) |
|
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.
|
boolean |
MutableGraph.putEdge(EndpointPair<N> endpoints) |
Adds an edge connecting endpoints (in the order, if any, specified by
endpoints ) if one is not already present.
|
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).
|
V |
MutableValueGraph.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).
|
boolean |
MutableGraph.removeEdge(EndpointPair<N> endpoints) |
Removes the edge connecting endpoints , if it is present.
|
V |
MutableValueGraph.removeEdge(EndpointPair<N> endpoints) |
Removes the edge connecting endpoints , if it is present.
|
protected void |
AbstractNetwork.validateEndpoints(EndpointPair<?> endpoints) |
Throws an IllegalArgumentException if the ordering of endpoints is not compatible with
the directionality of this graph.
|