Class WrappedOrderEntry.PromotionResultComparator
- java.lang.Object
-
- de.hybris.platform.promotions.result.WrappedOrderEntry.PromotionResultComparator
-
- All Implemented Interfaces:
java.util.Comparator<PromotionResult>
- Enclosing class:
- WrappedOrderEntry
protected static class WrappedOrderEntry.PromotionResultComparator extends java.lang.Object implements java.util.Comparator<PromotionResult>
Comparator forPromotionResultthat compares by certainty and then by priority.
-
-
Constructor Summary
Constructors Constructor Description PromotionResultComparator(SessionContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(PromotionResult a, PromotionResult b)
-
-
-
Constructor Detail
-
PromotionResultComparator
public PromotionResultComparator(SessionContext ctx)
-
-
Method Detail
-
compare
public int compare(PromotionResult a, PromotionResult b)
- Specified by:
comparein interfacejava.util.Comparator<PromotionResult>
-
-