urv.util.graph
Class Edge<N>
java.lang.Object
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
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Edge
public Edge(N source,
N target,
Weight weight)
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()