Class PopupCustomizerComparator

    • Constructor Detail

      • PopupCustomizerComparator

        public PopupCustomizerComparator()
    • Method Detail

      • compare

        public int compare​(AbstractPopupCustomizer o1,
                           AbstractPopupCustomizer o2)
        Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.

        Uses the group and name of the customizers for comparison.
        Specified by:
        compare in interface Comparator<AbstractPopupCustomizer>
        Parameters:
        o1 - the first object to be compared.
        o2 - the second object to be compared.
        Returns:
        a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.