|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbunit.util.search.Edge
public class Edge
Basic implementation of the IEdge interface.
| Constructor Summary | |
|---|---|
Edge(java.lang.Comparable nodeFrom,
java.lang.Comparable nodeTo)
|
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
Compares this edge to the given one using the nodes first. |
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
getFrom()
Get the node this edge originates from. |
java.lang.Object |
getTo()
Get the node this edge points to. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Edge(java.lang.Comparable nodeFrom,
java.lang.Comparable nodeTo)
nodeFrom - nodeTo - | Method Detail |
|---|
public java.lang.Object getFrom()
IEdge
getFrom in interface IEdgepublic java.lang.Object getTo()
IEdge
getTo in interface IEdgepublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(java.lang.Object o)
getFrom() nodes first.
If those are equal the getTo()}
is used for comparison.
compareTo in interface java.lang.ComparableComparable.compareTo(java.lang.Object)public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||