Interface EngineComparatorExtension<A>
- All Superinterfaces:
Comparator<A>
For creating custom ComparisonOperator.
-
Method Summary
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<A>- Parameters:
lhs-rhs-- Returns:
- int where 0 is equals - is less than and + is greater than
-
canCompare
- Parameters:
lhs-rhs-- Returns:
- able to compare lhs and rhs
-