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

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

public class OrderItemPriceComparator
extends java.lang.Object
implements java.util.Comparator<PromotableOrderItem>

Author:
jfischer

Constructor Summary
OrderItemPriceComparator(boolean applyToSalePrice)
           
 
Method Summary
 int compare(PromotableOrderItem c1, PromotableOrderItem c2)
           
 
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
 

Constructor Detail

OrderItemPriceComparator

public OrderItemPriceComparator(boolean applyToSalePrice)
Method Detail

compare

public int compare(PromotableOrderItem c1,
                   PromotableOrderItem c2)
Specified by:
compare in interface java.util.Comparator<PromotableOrderItem>


Copyright © 2012. All Rights Reserved.