public final class CustomerProfileDataBeanQuickSortCompare
extends java.lang.Object
implements com.ibm.commerce.tools.util.QuickSortCompare
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
Constructor and Description |
---|
CustomerProfileDataBeanQuickSortCompare(java.text.Collator localeCollator)
Construct an CustomerProfileDataBeanQuickSortCompare with a locale collator
and the field by which to sort.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object obj1,
java.lang.Object obj2)
Compare the locale specific sorting order of the customer profile list parameters
|
public static final java.lang.String COPYRIGHT
public CustomerProfileDataBeanQuickSortCompare(java.text.Collator localeCollator)
localeCollator
- the Collator
to use when sorting.public int compare(java.lang.Object obj1, java.lang.Object obj2)
compare
in interface com.ibm.commerce.tools.util.QuickSortCompare
obj1
- an customer profile (as an Object) for the left side of the compare.obj2
- an customer profile (as an Object) for the right side of the compare.