|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javatools.util.ArrayComparator
Compares an array of objects, object by object.
Constructor Summary | |
ArrayComparator()
Creates new ForeignKeyComparator |
Method Summary | |
int |
compare(java.lang.Object obj,
java.lang.Object obj1)
Compares two arrays. |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to something. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ArrayComparator()
Method Detail |
public int compare(java.lang.Object obj, java.lang.Object obj1)
compare
in interface java.util.Comparator
obj
- The first term.obj1
- The second term.
public boolean equals(java.lang.Object obj)
equals
in interface java.util.Comparator
equals
in class java.lang.Object
obj
- The object to compare to.
true
: yes, the objects are equal;
false
: no, they are not.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |