public class OrderItemPriceComparator extends Object implements Comparator<PromotableOrderItem>
| Constructor and Description |
|---|
OrderItemPriceComparator(boolean applyToSalePrice) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(PromotableOrderItem c1,
PromotableOrderItem c2) |
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 OrderItemPriceComparator(boolean applyToSalePrice)
public int compare(PromotableOrderItem c1, PromotableOrderItem c2)
compare in interface Comparator<PromotableOrderItem>Copyright © 2017. All rights reserved.