|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mss.ea.core.HashCodeComparator
Hash Code Comparator. This comparator compares the hash code of two objects. The method compare() returns 0 in case that both objects equal, -1 if object a is smaller and 1, if object a is bigger as object b.
Constructor Summary | |
HashCodeComparator()
|
Method Summary | |
int |
compare(java.lang.Object a,
java.lang.Object b)
Compares the hash code of two objects |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
Constructor Detail |
public HashCodeComparator()
Method Detail |
public int compare(java.lang.Object a, java.lang.Object b)
compare
in interface java.util.Comparator
a
- first objectb
- second object
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |