|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kiwi.util.HashCodeComparator
A hash code comparator. This class compares the hash codes of two objects.
Constructor Summary | |
HashCodeComparator()
Construct a new HashCodeComparator . |
Method Summary | |
int |
compare(java.lang.Object a,
java.lang.Object b)
Compare the hash codes of two objects. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public HashCodeComparator()
HashCodeComparator
.Method Detail |
public int compare(java.lang.Object a, java.lang.Object b)
hashCode()
is performed on both objects, and then the
resulting integers are compared.compare
in interface Comparator
a
- The first object.b
- The second object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |