public class GiftRegistryItemPurchaseRecordCatalogEntryDataBeanQuickSortCompare extends java.lang.Object implements QuickSortCompare
Constructor and Description |
---|
GiftRegistryItemPurchaseRecordCatalogEntryDataBeanQuickSortCompare(java.text.Collator LocaleCollator, java.lang.String strOrderBy)
Given a collator and an OrderBy value, the corresponding GiftRegistryItemPurchaseRecordCatalogEntryDataBean values can be sorted.
|
Modifier and Type | Method and Description |
---|---|
int | compare(java.lang.Object obj1, java.lang.Object obj2)
Compares two GiftRegistryItemPurchaseRecordCatalogEntryDataBean objects, based on the OrderBy criteria specified in the constructor.
|
protected static int | compareByDatePurchased(GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry1, GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry2)
Compares two objects, based on their purchasedDate values.
|
protected static int | compareByLastName(GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry1, GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry2)
Compares two objects, based on the last name values associated with the gift giver's last name Compares catEntry2 to catEntry1
|
protected static int | compareByPartNumber(GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry1, GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry2)
Compares two GiftRegistryItemCatalogEntryDataBean, using the String.compareTo method on the data bean partNumber and partAuxKey values Compares catEntry1 to catEntry2
|
protected static int | compareByPrice(GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry1, GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry2)
Compares by Offer Price Compares catEntry1 to catEntry2
|
protected static int | compareByThankYouNoteSent(GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry1, GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry2)
Compares two objects based on the Boolean (is note sent) value.
|
public GiftRegistryItemPurchaseRecordCatalogEntryDataBeanQuickSortCompare(java.text.Collator LocaleCollator, java.lang.String strOrderBy)
public int compare(java.lang.Object obj1, java.lang.Object obj2)
protected static int compareByLastName(GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry1, GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry2)
protected static int compareByThankYouNoteSent(GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry1, GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry2)
protected static int compareByDatePurchased(GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry1, GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry2)
protected static int compareByPartNumber(GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry1, GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry2)
protected static int compareByPrice(GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry1, GiftRegistryItemPurchaseRecordCatalogEntryDataBean catEntry2)