com.ibm.commerce.tools.segmentation

Class SegmentCustomerListDataBean.CustomerQuickSortCompare

  • java.lang.Object
    • com.ibm.commerce.tools.segmentation.SegmentCustomerListDataBean.CustomerQuickSortCompare
    • Constructor Summary

      Constructors 
      Constructor and Description
      CustomerQuickSortCompare(java.text.Collator localeCollator, java.lang.String orderBy)
      This constructor takes a Collator object and an "orderBy" value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int compare(java.lang.Object obj1, java.lang.Object obj2)
      This method compares two objects.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CustomerQuickSortCompare

        public CustomerQuickSortCompare(java.text.Collator localeCollator,
                                        java.lang.String orderBy)
        This constructor takes a Collator object and an "orderBy" value.
    • Method Detail

      • 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.