|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.aduna.text.ToTextComparator
public class ToTextComparator
Comparator that compares the String representations of two objects (using their toString() methods).
Method Summary | |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
|
static ToTextComparator |
getInstance()
|
static ToTextComparator |
getInstance(java.util.Locale locale)
|
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 |
Method Detail |
---|
public static ToTextComparator getInstance()
public static ToTextComparator getInstance(java.util.Locale locale)
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator<java.lang.Object>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |