- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for DescendingMap (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/MapsTest.java
assertEquals("one", map.floorKey("r")); assertEquals("three", map.floorKey("three")); assertThat(map.descendingMap().entrySet()) .containsExactly(mapEntry("two", 3), mapEntry("three", 5), mapEntry("one", 3)) .inOrder(); assertEquals(map.headMap("three", true), map.descendingMap().tailMap("three", true)); assertThat(map.tailMap("three", false).entrySet()).contains(mapEntry("two", 3));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
@Override public ImmutableSortedMap<K, V> descendingMap() { // TODO(kevinb): The descendingMap is never actually cached at all. Either: // // - Cache it, and annotate the field with @LazyInit. // - Simplify the code below, and consider eliminating the field (b/287198172), which is also // set by one of the constructors. ImmutableSortedMap<K, V> result = descendingMap; if (result == null) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 52.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
} } transient @Nullable NavigableMap<K, V> descendingMap; @Override public NavigableMap<K, V> descendingMap() { synchronized (mutex) { if (descendingMap == null) { return descendingMap = navigableMap(delegate().descendingMap(), mutex); } return descendingMap; } } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Aug 08 15:11:10 UTC 2025 - 53K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
} } transient @Nullable NavigableMap<K, V> descendingMap; @Override public NavigableMap<K, V> descendingMap() { synchronized (mutex) { if (descendingMap == null) { return descendingMap = navigableMap(delegate().descendingMap(), mutex); } return descendingMap; } } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Aug 08 15:11:10 UTC 2025 - 56.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
assertEquals("one", map.floorKey("r")); assertEquals("three", map.floorKey("three")); assertThat(map.descendingMap().entrySet()) .containsExactly(mapEntry("two", 3), mapEntry("three", 5), mapEntry("one", 3)) .inOrder(); assertEquals(map.headMap("three", true), map.descendingMap().tailMap("three", true)); assertThat(map.tailMap("three", false).entrySet()).contains(mapEntry("two", 3));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0)