|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.util.MultiKeyCollatingComparator
public final class MultiKeyCollatingComparator
A comparator on multikeys with string values and using the Collator for comparing. The multikeys must contain the same number of values.
Constructor Summary | |
---|---|
MultiKeyCollatingComparator(boolean[] isDescendingValues,
boolean[] stringTypeValues)
Ctor. |
Method Summary | |
---|---|
int |
compare(MultiKeyUntyped firstValues,
MultiKeyUntyped secondValues)
|
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 MultiKeyCollatingComparator(boolean[] isDescendingValues, boolean[] stringTypeValues)
isDescendingValues
- - each value is true if the corresponding (same index)
entry in the multi-keys is to be sorted in descending order. The multikeys
to be compared must have the same number of values as this array.stringTypeValues
- true for each string-typed columnMethod Detail |
---|
public final int compare(MultiKeyUntyped firstValues, MultiKeyUntyped secondValues)
compare
in interface java.util.Comparator<MultiKeyUntyped>
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |