com.ibm.commerce.tools.segmentation
Class SegmentCustomerListDataBean.CustomerQuickSortCompare
java.lang.Object
com.ibm.commerce.tools.segmentation.SegmentCustomerListDataBean.CustomerQuickSortCompare
- All Implemented Interfaces:
- QuickSortCompare
- Enclosing class:
- SegmentCustomerListDataBean
- public static final class SegmentCustomerListDataBean.CustomerQuickSortCompare
- extends java.lang.Object
- implements QuickSortCompare
This class will compare Customer objects during a quick sort.
Method Summary |
int |
compare(java.lang.Object obj1, java.lang.Object obj2)
This method compares two objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SegmentCustomerListDataBean.CustomerQuickSortCompare
public SegmentCustomerListDataBean.CustomerQuickSortCompare(java.text.Collator localeCollator,
java.lang.String orderBy)
- This constructor takes a Collator object and an "orderBy" value.
compare
public int compare(java.lang.Object obj1,
java.lang.Object obj2)
- This method compares two objects.
-
- Specified by:
- compare in interface QuickSortCompare
-
- Parameters:
- obj1 - Object 1.
- obj2 - Object 2.
- Returns:
- The result of the comparison.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.