public class ItemOfferQtyOneComparator extends Object implements Comparator<PromotableCandidateItemOffer>
ItemOfferComparator but uses the PromotableCandidateItemOffer.getPotentialSavingsQtyOne()
method instead.| Modifier and Type | Field and Description |
|---|---|
static ItemOfferQtyOneComparator |
INSTANCE |
| Constructor and Description |
|---|
ItemOfferQtyOneComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(PromotableCandidateItemOffer p1,
PromotableCandidateItemOffer p2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic static ItemOfferQtyOneComparator INSTANCE
public int compare(PromotableCandidateItemOffer p1, PromotableCandidateItemOffer p2)
compare in interface Comparator<PromotableCandidateItemOffer>Copyright © 2015. All Rights Reserved.