Interface ComparatorInt

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ComparatorInt
Compares two primitive int values without boxing.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    compare(int a, int b)
     
  • Method Details

    • compare

      int compare(int a, int b)