Package org.apache.calcite.runtime
Class ArrayComparator
java.lang.Object
org.apache.calcite.runtime.ArrayComparator
- All Implemented Interfaces:
Comparator<Object[]>
Compares arrays.
-
Constructor Summary
ConstructorDescriptionArrayComparator
(boolean... descendings) ArrayComparator
(Comparator... comparators) -
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
-
ArrayComparator
-
ArrayComparator
public ArrayComparator(boolean... descendings)
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Object[]>
-