- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for emptiesLast (0.09 sec)
-
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
Optional<String> z = Optional.of("z"); Comparator<Optional<String>> comparator = emptiesLast(comparing(String::length)); testComparator(comparator, z, abc, empty); // Just demonstrate that no explicit type parameter is required Comparator<Optional<String>> unused = emptiesLast(naturalOrder()); } public void testMinMaxNatural() { assertThat(min(1, 2)).isEqualTo(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.4K bytes - Viewed (0)