Class ObjectCollatingComparator
java.lang.Object
com.espertech.esper.common.internal.util.ObjectCollatingComparator
- All Implemented Interfaces:
Serializable
,Comparator<Object>
public final class ObjectCollatingComparator
extends Object
implements Comparator<Object>, Serializable
A comparator on objects that takes a boolean array for ascending/descending.
- See Also:
-
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
-
ObjectCollatingComparator
public ObjectCollatingComparator(boolean isDescendingValue) Ctor.- Parameters:
isDescendingValue
- ascending or descending
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Object>
-