Uses of Class
com.google.common.graph.EndpointPair
-
Packages that use EndpointPair Package Description com.google.common.graph An API for representing graph (node and edge) data. -
-
Uses of EndpointPair in com.google.common.graph
Methods in com.google.common.graph that return EndpointPair Modifier and Type Method Description EndpointPair<N>
Network. incidentNodes(E edge)
Returns the nodes which are the endpoints ofedge
in this network.static <N> EndpointPair<N>
EndpointPair. ordered(N source, N target)
Returns anEndpointPair
representing the endpoints of a directed edge.static <N> EndpointPair<N>
EndpointPair. unordered(N nodeU, N nodeV)
Returns anEndpointPair
representing the endpoints of an undirected edge.Methods in com.google.common.graph that return types with arguments of type EndpointPair Modifier and Type Method Description java.util.Set<EndpointPair<N>>
Graph. edges()
Returns all edges in this graph.java.util.Set<EndpointPair<N>>
ValueGraph. edges()
Returns all edges in this graph.java.util.Set<EndpointPair<N>>
Graph. incidentEdges(N node)
Returns the edges in this graph whose endpoints includenode
.java.util.Set<EndpointPair<N>>
ValueGraph. incidentEdges(N node)
Returns the edges in this graph whose endpoints includenode
.
-