Interface IntComparator


  • public interface IntComparator
    • Method Detail

      • compare

        int compare​(int k1,
                    int k2)
        Compares the given primitive types.
        Returns:
        A positive integer, zero, or a negative integer if the first argument is greater than, equal to, or smaller than, respectively, the second one.
        See Also:
        Comparator