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
Subclasses of EndpointPair in com.google.common.graph Modifier and Type Class Description private static class
EndpointPair.Ordered<N>
private static class
EndpointPair.Unordered<N>
Methods in com.google.common.graph that return EndpointPair Modifier and Type Method Description protected EndpointPair<N>
EndpointPairIterator.Directed. computeNext()
protected EndpointPair<N>
EndpointPairIterator.Undirected. computeNext()
EndpointPair<N>
ConfigurableNetwork. incidentNodes(java.lang.Object edge)
EndpointPair<N>
Graphs.TransposedNetwork. incidentNodes(java.lang.Object edge)
EndpointPair<N>
Network. incidentNodes(java.lang.Object edge)
Returns the nodes which are the endpoints ofedge
in this network.(package private) static <N> EndpointPair<N>
EndpointPair. of(Graph<?> graph, N nodeU, N nodeV)
Returns anEndpointPair
representing the endpoints of an edge ingraph
.(package private) static <N> EndpointPair<N>
EndpointPair. of(Network<?,?> network, N nodeU, N nodeV)
Returns anEndpointPair
representing the endpoints of an edge innetwork
.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 private java.util.Map<E,EndpointPair<N>>
AbstractNetwork. edgeIncidentNodesMap()
java.util.Set<EndpointPair<N>>
AbstractGraph. edges()
A reasonable default implementation ofGraph.edges()
defined in terms ofGraph.nodes()
andGraph.successors(Object)
.java.util.Set<EndpointPair<N>>
ForwardingGraph. edges()
java.util.Set<EndpointPair<N>>
Graph. edges()
Returns all edges in this graph.private java.util.Map<EndpointPair<N>,V>
AbstractValueGraph. edgeValueMap()
-