scratch.tom.simpleGraph
Class UndirectedEdge<V>

java.lang.Object
  extended by scratch.tom.simpleGraph.UndirectedEdge<V>
All Implemented Interfaces:
Edge<V>

public class UndirectedEdge<V>
extends Object
implements Edge<V>


Nested Class Summary
 
Nested classes/interfaces inherited from interface scratch.tom.simpleGraph.Edge
Edge.Directed<W>, Edge.Hyper<W>
 
Constructor Summary
UndirectedEdge(V oneEnd, V theOther)
           
 
Method Summary
 Collection<V> getEndpoints()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UndirectedEdge

public UndirectedEdge(V oneEnd,
                      V theOther)
Method Detail

getEndpoints

public Collection<V> getEndpoints()
Specified by:
getEndpoints in interface Edge<V>

toString

public String toString()
Overrides:
toString in class Object