Class ComparatorObjectArray
java.lang.Object
com.espertech.esper.common.internal.util.ComparatorObjectArray
- All Implemented Interfaces:
Comparator<Object[]>
A comparator on multikeys. The multikeys must contain the same number of values.
-
Constructor Summary
-
Method Summary
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ComparatorObjectArray
public ComparatorObjectArray(boolean[] isDescendingValues) Ctor.- Parameters:
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 Details
-
compare
- Specified by:
compare
in interfaceComparator<Object[]>
-