|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.schema.NormalizingComparator
A comparator which normalizes a value first before using a subordinate comparator to compare them.
Constructor Summary | |
NormalizingComparator(Normalizer normalizer,
java.util.Comparator comparator)
A comparator which normalizes a value first before comparing them. |
Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
If any normalization attempt fails we compare using the unnormalized object. |
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 NormalizingComparator(Normalizer normalizer, java.util.Comparator comparator)
normalizer
- the Normalizer to normalize values with before comparingcomparator
- the underlying comparator to use for comparisonsMethod Detail |
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
Comparator.compare(Object, Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |