- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for tailMap (0.04 seconds)
-
android/guava/src/com/google/common/collect/AbstractNavigableMap.java
return headMap(key, true).lastEntry(); } @Override public @Nullable Entry<K, V> ceilingEntry(@ParametricNullness K key) { return tailMap(key, true).firstEntry(); } @Override public @Nullable Entry<K, V> higherEntry(@ParametricNullness K key) { return tailMap(key, false).firstEntry(); } @Override public @Nullable K lowerKey(@ParametricNullness K key) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
Iterator<Entry<K, V>> iterator = map.entrySet().iterator(); Entry<K, V> firstEntry = iterator.next(); Entry<K, V> secondEntry = iterator.next(); K key = secondEntry.getKey(); SortedMap<K, V> subMap = map.tailMap(key); V value = getValueNotInPopulatedMap(); subMap.put(key, value); assertEquals(secondEntry.getValue(), value); assertEquals(map.get(key), value);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 17 20:00:30 GMT 2024 - 3.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
Iterator<Entry<K, V>> iterator = map.entrySet().iterator(); Entry<K, V> firstEntry = iterator.next(); Entry<K, V> secondEntry = iterator.next(); K key = secondEntry.getKey(); SortedMap<K, V> subMap = map.tailMap(key); V value = getValueNotInPopulatedMap(); subMap.put(key, value); assertEquals(secondEntry.getValue(), value); assertEquals(map.get(key), value);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 17 20:00:30 GMT 2024 - 3.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
return subMap(fromKey, true, toKey, false); } @Override public SortedMap<K, V> tailMap(K fromKey) { return tailMap(fromKey, true); } @Override public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { return new SafeTreeMap<>(delegate.tailMap(checkValid(fromKey), inclusive)); } @Override public Collection<V> values() { return delegate.values();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
public SortedMap<K, V> subMap(@ParametricNullness K fromKey, @ParametricNullness K toKey) { return delegate().subMap(fromKey, toKey); } @Override public SortedMap<K, V> tailMap(@ParametricNullness K fromKey) { return delegate().tailMap(fromKey); } /** * A sensible implementation of {@link SortedMap#keySet} in terms of the methods of {@code * ForwardingSortedMap}. In many cases, you may wish to override {@link
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractNavigableMap.java
return headMap(key, true).lastEntry(); } @Override public @Nullable Entry<K, V> ceilingEntry(@ParametricNullness K key) { return tailMap(key, true).firstEntry(); } @Override public @Nullable Entry<K, V> higherEntry(@ParametricNullness K key) { return tailMap(key, false).firstEntry(); } @Override public @Nullable K lowerKey(@ParametricNullness K key) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/StandardRowSortedTable.java
.rowMap(); } @Override public SortedMap<R, Map<C, V>> tailMap(R fromKey) { checkNotNull(fromKey); return new StandardRowSortedTable<R, C, V>(sortedBackingMap().tailMap(fromKey), factory) .rowMap(); } } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 18 15:05:43 GMT 2025 - 4.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
return subMap(fromKey, true, toKey, false); } @Override public SortedMap<K, V> tailMap(K fromKey) { return tailMap(fromKey, true); } @Override public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { return new SafeTreeMap<>(delegate.tailMap(checkValid(fromKey), inclusive)); } @Override public Collection<V> values() { return delegate.values();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
assertFalse(navigableMap.headMap(a.getKey()).containsKey(a.getKey())); } @CollectionSize.Require(absent = ZERO) public void testTailMapInclusive() { assertTrue(navigableMap.tailMap(a.getKey()).containsKey(a.getKey())); } public void testHeadMap() { List<Entry<K, V>> entries = copyToList( getSubjectGenerator()
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
assertFalse(navigableMap.headMap(a.getKey()).containsKey(a.getKey())); } @CollectionSize.Require(absent = ZERO) public void testTailMapInclusive() { assertTrue(navigableMap.tailMap(a.getKey()).containsKey(a.getKey())); } public void testHeadMap() { List<Entry<K, V>> entries = copyToList( getSubjectGenerator()
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 6.2K bytes - Click Count (0)