Interface Sort.Comparator

All Known Implementing Classes:
Sort.Alpha
Enclosing class:
Sort
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @Deprecated(since="2021-12-01", forRemoval=true) public static interface Sort.Comparator
Deprecated, for removal: This API element is subject to removal in a future version.
Use Comparator instead.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Details

    • compare

      int compare(Object o1, Object o2)
      Deprecated, for removal: This API element is subject to removal in a future version.