- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testMinMaxWithSupertypeComparator (0.24 sec)
-
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
} /** * Fails compilation if the signature of min and max is changed to take {@code Comparator<T>} * instead of {@code Comparator<? super T>}. */ public void testMinMaxWithSupertypeComparator() { Comparator<Number> numberComparator = // Can't use Comparator.comparing(Number::intValue) due to Java 7 compatibility. new Comparator<Number>() { @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 08:42:51 GMT 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparatorsTest.java
} /** * Fails compilation if the signature of min and max is changed to take {@code Comparator<T>} * instead of {@code Comparator<? super T>}. */ public void testMinMaxWithSupertypeComparator() { Comparator<Number> numberComparator = // Can't use Comparator.comparing(Number::intValue) due to Java 7 compatibility. new Comparator<Number>() { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Apr 11 08:42:51 GMT 2024 - 6.6K bytes - Viewed (0)