Class BucketComparator

    • Constructor Detail

      • BucketComparator

        public BucketComparator()
    • Method Detail

      • getType

        public String getType()
        Specified by:
        getType in interface com.quartetfs.fwk.types.IExtendedPluginValue
      • compare

        public int compare​(String bucketA,
                           String bucketB)
        Compares two buckets for order.
        Specified by:
        compare in interface Comparator<String>
        Parameters:
        bucketA - the first object to be compared.
        bucketB - 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.
        Throws:
        NullPointerException - if an argument is null and this comparator does not permit null arguments
        ClassCastException - if the arguments' types prevent them from being compared by this comparator.