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