|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jaulp.comparators.HashCodeComparator<T>
public class HashCodeComparator<T>
This class compare two Objects by the hashcode.
Constructor Summary | |
---|---|
HashCodeComparator()
|
Method Summary | |
---|---|
int |
compare(T oneObj,
T compObj)
Compare two Objects by the hashcode. |
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(T oneObj, T compObj)
compare
in interface java.util.Comparator<T>
oneObj
- One Object.compObj
- The other Object to compare.
Comparator.compare(Object, Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |