|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object biz.chitec.quarterback.util.StringRepresentationComparator
Comparator which takes the objects' toString() representation for comparation.
Field Summary | |
private static java.util.Comparator |
staticinstance
Static instance of this class which is preinitialized |
Constructor Summary | |
StringRepresentationComparator()
|
Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compare method as defined by Comparator interface |
boolean |
equals(java.lang.Object o1)
Equality checking. |
static java.util.Comparator |
getStaticInstance()
Returns a static preinitialized instance of this class. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.util.Comparator staticinstance
Constructor Detail |
public StringRepresentationComparator()
Method Detail |
public static java.util.Comparator getStaticInstance()
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
o1
- First objecto2
- Second object
public boolean equals(java.lang.Object o1)
equals
in interface java.util.Comparator
o1
- Object to be checked.
|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |