Class ItemOfferWeightedPercentSavedComparator
- java.lang.Object
-
- com.broadleafcommerce.promotion.offer.service.dto.comparator.ItemOfferWeightedPercentSavedComparator
-
- All Implemented Interfaces:
Comparator<CandidateItemOffer>
public class ItemOfferWeightedPercentSavedComparator extends Object implements Comparator<CandidateItemOffer>
- Author:
- Nathan Moore (nathanmoore).
-
-
Field Summary
Fields Modifier and Type Field Description static ItemOfferWeightedPercentSavedComparatorINSTANCE
-
Constructor Summary
Constructors Constructor Description ItemOfferWeightedPercentSavedComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(CandidateItemOffer p1, CandidateItemOffer p2)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Field Detail
-
INSTANCE
public static final ItemOfferWeightedPercentSavedComparator INSTANCE
-
-
Method Detail
-
compare
public int compare(CandidateItemOffer p1, CandidateItemOffer p2)
- Specified by:
comparein interfaceComparator<CandidateItemOffer>
-
-