protected static class WrappedOrderEntry.PromotionResultComparator extends Object implements 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic PromotionResultComparator(SessionContext ctx)
public int compare(PromotionResult a, PromotionResult b)
compare in interface Comparator<PromotionResult>Copyright © 2017 SAP SE. All Rights Reserved.