- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for DescendingMap (0.14 sec)
-
android/guava/src/com/google/common/collect/AbstractNavigableMap.java
return navigableKeySet(); } @Override public NavigableSet<K> descendingKeySet() { return descendingMap().navigableKeySet(); } @Override public NavigableMap<K, V> descendingMap() { return new DescendingMap(); } private final class DescendingMap extends Maps.DescendingMap<K, V> { @Override NavigableMap<K, V> forward() { return AbstractNavigableMap.this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 15 18:11:44 UTC 2023 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
ImmutableMap<Range<Integer>, Integer> descendingMap = rangeMap.asDescendingMapOfRanges(); assertEquals(expectedAsMap, asMap); assertEquals(expectedAsMap, descendingMap); SerializableTester.reserializeAndAssert(asMap); SerializableTester.reserializeAndAssert(descendingMap); assertEquals( ImmutableList.copyOf(asMap.entrySet()).reverse(),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractNavigableMap.java
return navigableKeySet(); } @Override public NavigableSet<K> descendingKeySet() { return descendingMap().navigableKeySet(); } @Override public NavigableMap<K, V> descendingMap() { return new DescendingMap(); } private final class DescendingMap extends Maps.DescendingMap<K, V> { @Override NavigableMap<K, V> forward() { return AbstractNavigableMap.this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 15 18:11:44 UTC 2023 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
} public void testDescendingMap() { NavigableMap<String, Integer> map = create(); NavigableMap<String, Integer> descendingMap = map.descendingMap(); assertTrue(descendingMap instanceof SynchronizedNavigableMap); assertSame(mutex, ((SynchronizedNavigableMap<String, Integer>) descendingMap).mutex); } public void testFirstEntry() { create().firstEntry(); } public void testFirstKey() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 12.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
ImmutableMap<Range<Integer>, Integer> descendingMap = rangeMap.asDescendingMapOfRanges(); assertEquals(expectedAsMap, asMap); assertEquals(expectedAsMap, descendingMap); SerializableTester.reserializeAndAssert(asMap); SerializableTester.reserializeAndAssert(descendingMap); assertEquals( ImmutableList.copyOf(asMap.entrySet()).reverse(),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
} @Override public NavigableSet<K> descendingKeySet() { return delegate.descendingKeySet(); } @Override public NavigableMap<K, V> descendingMap() { return new SafeTreeMap<>(delegate.descendingMap()); } @Override public Set<Entry<K, V>> entrySet() { return new AbstractSet<Entry<K, V>>() { private Set<Entry<K, V>> delegate() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 7.5K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java
assertThat(navigableMap.headMap(key, inclusive).descendingMap().entrySet()) .containsExactlyElementsIn(expected.headMap(key, inclusive).descendingMap().entrySet()) .inOrder(); assertThat(navigableMap.tailMap(key, inclusive).descendingMap().entrySet()) .containsExactlyElementsIn(expected.tailMap(key, inclusive).descendingMap().entrySet()) .inOrder(); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 24.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
} @Override public NavigableSet<K> descendingKeySet() { return delegate.descendingKeySet(); } @Override public NavigableMap<K, V> descendingMap() { return new SafeTreeMap<>(delegate.descendingMap()); } @Override public Set<Entry<K, V>> entrySet() { return new AbstractSet<Entry<K, V>>() { private Set<Entry<K, V>> delegate() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
} @LazyInit @CheckForNull private transient UnmodifiableNavigableMap<K, V> descendingMap; @Override public NavigableMap<K, V> descendingMap() { UnmodifiableNavigableMap<K, V> result = descendingMap; return (result == null) ? descendingMap = new UnmodifiableNavigableMap<>(delegate.descendingMap(), this) : result; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 161.6K bytes - Viewed (0)