- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for reverseOrder (0.14 sec)
-
guava-tests/test/com/google/common/collect/SetsTest.java
} }; private static final List<Integer> LONGER_LIST = Arrays.asList(8, 6, 7, 5, 3, 0, 9); private static final Comparator<Integer> SOME_COMPARATOR = Collections.reverseOrder(); @J2ktIncompatible @GwtIncompatible // suite public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(SetsTest.class); suite.addTest(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 49.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
* @author Jared Levy */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class MapsTest extends TestCase { private static final Comparator<Integer> SOME_COMPARATOR = Collections.reverseOrder(); public void testHashMap() { HashMap<Integer, Integer> map = Maps.newHashMap(); assertEquals(Collections.emptyMap(), map); } public void testHashMapWithInitialMap() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 67.1K bytes - Viewed (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:
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 50.3K bytes - Viewed (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:
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 53K bytes - Viewed (0)