protected static class WrappedOrderEntry.PromotionResultComparator extends java.lang.Object implements java.util.Comparator<PromotionResult>
PromotionResult that compares by certainty and then by priority.| Constructor and Description |
|---|
PromotionResultComparator(SessionContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(PromotionResult a,
PromotionResult b) |
public PromotionResultComparator(SessionContext ctx)
public int compare(PromotionResult a, PromotionResult b)
compare in interface java.util.Comparator<PromotionResult>Copyright © 2018 SAP SE. All Rights Reserved.