public class GiftRegistryItemCatalogEntryDataBeanQuickSortCompare extends java.lang.Object implements QuickSortCompare
GiftRegistryItemCatalogEntryDataBean
's using
the QuickSort algorithmConstructor and Description |
---|
GiftRegistryItemCatalogEntryDataBeanQuickSortCompare(java.text.Collator LocaleCollator,
java.lang.String strOrderBy)
Given a collator and an OrderBy value, the corresponding GiftRegistryItemCatalogEntryDataBean's can be sorted.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object obj1,
java.lang.Object obj2)
Compares two GiftRegistryItemCatalogEntryDataBean objects, based on the OrderBy criteria
specified in the constructor.
|
public GiftRegistryItemCatalogEntryDataBeanQuickSortCompare(java.text.Collator LocaleCollator, java.lang.String strOrderBy)
LocaleCollator
- strOrderBy
- public int compare(java.lang.Object obj1, java.lang.Object obj2)
compare
in interface QuickSortCompare
obj1
- obj2
-