com.softslate.commerce.businessobjects.order
Class DiscountComparator

java.lang.Object
  extended by com.softslate.commerce.businessobjects.order.DiscountComparator
All Implemented Interfaces:
java.util.Comparator

public class DiscountComparator
extends java.lang.Object
implements java.util.Comparator

Comparator class used to sort discounts, based on the discountOrder field.

Author:
David Tobey

Constructor Summary
DiscountComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
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

DiscountComparator

public DiscountComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator


Copyright © SoftSlate, LLC 2003–2005