urv.util.graph
Class Edge<N>

java.lang.Object
  extended by urv.util.graph.Edge<N>
All Implemented Interfaces:
java.io.Serializable

public class Edge<N>
extends java.lang.Object
implements java.io.Serializable

Class

Author:
Marcel Arrufat
See Also:
Serialized Form

Constructor Summary
Edge(N source, N target, Weight weight)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object obj)
           
 N getSource()
           
 N getTarget()
           
 Weight getWeight()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Edge

public Edge(N source,
            N target,
            Weight weight)
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getSource

public N getSource()

getTarget

public N getTarget()

getWeight

public Weight getWeight()