Class WrappedOrderEntry.PromotionResultComparator
java.lang.Object
de.hybris.platform.promotions.result.WrappedOrderEntry.PromotionResultComparator
- All Implemented Interfaces:
Comparator<PromotionResult>
- Enclosing class:
- WrappedOrderEntry
protected static class WrappedOrderEntry.PromotionResultComparator
extends Object
implements Comparator<PromotionResult>
Comparator for
PromotionResult that compares by certainty and then by priority.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
PromotionResultComparator
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<PromotionResult>
-