edu.cmu.cs.pattis.cs151xx
Interface Graph.Edge

Enclosing class:
Graph

public static interface Graph.Edge

Edge is an immutable inner class for storing edges in a graph; each consists of the origin and desination node in that graph.


Method Summary
 String getDestination()
          Returns the destination node for this Edge.
 String getOrigin()
          Returns the origin node for this Edge.
 Object getValue()
          Returns the value associated with this Edge.
 

Method Detail

getOrigin

public String getOrigin()
Returns the origin node for this Edge.

getDestination

public String getDestination()
Returns the destination node for this Edge.

getValue

public Object getValue()
Returns the value associated with this Edge.