Implementing the java.util.Comparator Interface – Object ComparisonImplementing the java.util.Comparator Interface – Object Comparison
14.5 Implementing the java.util.Comparator<E> Interface The java.util.Comparator<E> interface is a functional interface and is designated as such with the @FunctionalInterface annotation in the Java SE API documentation— in other words, [...]