Graph
Class Edge

java.lang.Object
  |
  +--Graph.Edge

public class Edge
extends Object

Represents an edge. Could be generalized by ataching edge attributes.


Field Summary
(package private)  Vertex v2
           
 
Constructor Summary
Edge(Vertex v2)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

v2

Vertex v2
Constructor Detail

Edge

public Edge(Vertex v2)
Method Detail

toString

public String toString()
Overrides:
toString in class Object