Class ObjectComparator
java.lang.Object
com.espertech.esper.common.internal.util.ObjectComparator
- All Implemented Interfaces:
Serializable
,Comparator<Object>
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
-
ObjectComparator
public ObjectComparator(boolean isDescendingValue) Ctor.- Parameters:
isDescendingValue
- ascending or descending
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Object>
-