Class RAActivatorComparator

    • Method Detail

      • compare

        public int compare​(String o1,
                           String o2)
        Compare
        Specified by:
        compare in interface Comparator<String>
        Parameters:
        o1 - The first object
        o2 - The second object
        Returns:
        -1 if o1 should be invoked first, 1 if o2 should be invoked first, otherwise 0
      • hashCode

        public int hashCode()
        Hash code
        Overrides:
        hashCode in class Object
        Returns:
        The hash
      • equals

        public boolean equals​(Object o)
        Equals
        Specified by:
        equals in interface Comparator<String>
        Overrides:
        equals in class Object
        Parameters:
        o - The object
        Returns:
        True if equal; otherwise false