|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.util.MultiKeyComparator
public final class MultiKeyComparator
A comparator on multikeys. The multikeys must contain the same number of values.
Constructor Summary | |
---|---|
MultiKeyComparator(java.lang.Boolean[] isDescendingValues)
Ctor. |
Method Summary | |
---|---|
int |
compare(MultiKey firstValues,
MultiKey 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 MultiKeyComparator(java.lang.Boolean[] isDescendingValues)
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.Method Detail |
---|
public final int compare(MultiKey firstValues, MultiKey secondValues)
compare
in interface java.util.Comparator<MultiKey>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |