- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for reverseOrder (0.06 seconds)
-
android/guava-tests/test/com/google/common/collect/MapsTest.java
@GwtCompatible @NullMarked @SuppressWarnings("JUnitIncompatibleType") // Many intentional violations here. public class MapsTest extends TestCase { private static final Comparator<Integer> SOME_COMPARATOR = Collections.reverseOrder(); public void testHashMap() { @SuppressWarnings("UseCollectionConstructor") // test of factory method HashMap<Integer, Integer> map = Maps.newHashMap(); assertEquals(emptyMap(), map); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
} /** * Returns a builder that creates immutable sorted maps whose keys are ordered by the reverse of * their natural ordering. */ public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() { return new Builder<>(Ordering.<K>natural().reverse()); } /** * A builder for creating immutable sorted map instances, especially {@code public static final} * maps ("constant maps"). Example:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 52.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
} /** * Returns a builder that creates immutable sorted maps whose keys are ordered by the reverse of * their natural ordering. */ public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() { return new Builder<>(Ordering.<K>natural().reverse()); } /** * A builder for creating immutable sorted map instances, especially {@code public static final} * maps ("constant maps"). Example:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 54.7K bytes - Click Count (0)