org.broadleafcommerce.core.offer.service.discount
Class ItemOfferComparator

java.lang.Object
  extended by org.broadleafcommerce.core.offer.service.discount.ItemOfferComparator
All Implemented Interfaces:
java.util.Comparator<PromotableCandidateItemOffer>

public class ItemOfferComparator
extends java.lang.Object
implements java.util.Comparator<PromotableCandidateItemOffer>

Author:
jfischer

Field Summary
static ItemOfferComparator INSTANCE
           
 
Constructor Summary
ItemOfferComparator()
           
 
Method Summary
 int compare(PromotableCandidateItemOffer p1, PromotableCandidateItemOffer 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
 

Field Detail

INSTANCE

public static ItemOfferComparator INSTANCE
Constructor Detail

ItemOfferComparator

public ItemOfferComparator()
Method Detail

compare

public int compare(PromotableCandidateItemOffer p1,
                   PromotableCandidateItemOffer p2)
Specified by:
compare in interface java.util.Comparator<PromotableCandidateItemOffer>


Copyright © 2012. All Rights Reserved.