Class SegmentDataBeanQuickSortCompare

  • java.lang.Object
    • Constructor Detail

      • SegmentDataBeanQuickSortCompare

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

      • compare

        public int compare(java.lang.Object obj1,
                           java.lang.Object obj2)
        Compares two SegmentDataBean objects.
        Specified by:
        compare in interface QuickSortCompare
        obj1 - Object 1.
        obj2 - Object 2.
        0 if the objects are equal. A value greater than 1 if obj1 is greater than obj2. A value less than 1 if ojb1 is less than obj2.