|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.monitorenter.util.collections.ComparatorToString
public final class ComparatorToString
A Comparator
that compares the given Objects by their
Object.toString()
value.
Constructor Summary | |
---|---|
ComparatorToString()
Defcon. |
Method Summary | |
---|---|
int |
compare(Object o1,
Object o2)
Compares both Objects by their Object.toString() presentation. |
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 ComparatorToString()
Method Detail |
---|
public int compare(Object o1, Object o2) throws IllegalArgumentException
Object.toString()
presentation.
compare
in interface Comparator
IllegalArgumentException
Comparator.compare(java.lang.Object, java.lang.Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |