java.lang.Object | +--com.ibm.commerce.tools.promotions.DiscountChooseListQuickSortCompare
This class implement the quick sort algorithm for discount list page sorting function.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM Copyright |
Constructor Summary | |
---|---|
DiscountChooseListQuickSortCompare() DiscountChooseListQuickSortCompare default constructor | |
DiscountChooseListQuickSortCompare(java.text.Collator localeCollator,
java.lang.String orderBy) DiscountChooseListQuickSortCompare constructor. |
Method Summary | |
---|---|
int |
compare(java.lang.Object obj1, java.lang.Object obj2) compare two Discount Object based on the orderBy value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public DiscountChooseListQuickSortCompare()
public DiscountChooseListQuickSortCompare(java.text.Collator localeCollator, java.lang.String orderBy)
Method Detail |
---|
public int compare(java.lang.Object obj1, java.lang.Object obj2)
compare
in interface
QuickSortCompare