Example usage for Java com.google.common.graph EndpointPair fields, constructors, methods, implement or subclass
The text is from its open source code.
EndpointPair | ordered(N source, N target) Returns an EndpointPair representing the endpoints of a directed edge. |
N | source() If this EndpointPair #isOrdered() , returns the node which is the source. |
N | target() If this EndpointPair #isOrdered() , returns the node which is the target. |
String | toString() Returns a string representation of the object. |
EndpointPair | unordered(N nodeU, N nodeV) Returns an EndpointPair representing the endpoints of an undirected edge. |