public class UndirectedEdge extends DefaultEdge
DEFAULT_EDGE_WEIGHT| Constructor and Description |
|---|
UndirectedEdge(java.lang.Object sourceVertex,
java.lang.Object targetVertex) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Returns a string representation of this undirected edge.
|
clone, containsVertex, getSource, getTarget, getWeight, oppositeVertex, setWeightpublic UndirectedEdge(java.lang.Object sourceVertex,
java.lang.Object targetVertex)
DefaultEdge.DefaultEdge(Object, Object)public java.lang.String toString()
toString in class java.lang.Object