org.xerial.util.graph
Class Edge

java.lang.Object
  extended by org.xerial.util.graph.Edge
All Implemented Interfaces:
Comparable<Edge>

public class Edge
extends Object
implements Comparable<Edge>


Constructor Summary
Edge(int src, int dest)
           
 
Method Summary
 int compareTo(Edge o)
           
 boolean equals(Object o)
           
 int getDestNodeID()
           
 int getSourceNodeID()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Edge

public Edge(int src,
            int dest)
Parameters:
edge -
src -
dest -
Method Detail

getDestNodeID

public int getDestNodeID()

getSourceNodeID

public int getSourceNodeID()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

compareTo

public int compareTo(Edge o)
Specified by:
compareTo in interface Comparable<Edge>

toString

public String toString()
Overrides:
toString in class Object


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.