- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for headMap (0.05 sec)
-
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
/** * A sensible definition of {@link #lowerEntry} in terms of the {@code lastEntry()} of {@link * #headMap(Object, boolean)}. If you override {@code headMap}, you may wish to override {@code * lowerEntry} to forward to this implementation. */ protected @Nullable Entry<K, V> standardLowerEntry(@ParametricNullness K key) { return headMap(key, false).lastEntry(); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
/** * A sensible definition of {@link #lowerEntry} in terms of the {@code lastEntry()} of {@link * #headMap(Object, boolean)}. If you override {@code headMap}, you may wish to override {@code * lowerEntry} to forward to this implementation. */ protected @Nullable Entry<K, V> standardLowerEntry(@ParametricNullness K key) { return headMap(key, false).lastEntry(); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 14.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractNavigableMap.java
return entry.getKey(); } } @Override public @Nullable Entry<K, V> lowerEntry(@ParametricNullness K key) { return headMap(key, false).lastEntry(); } @Override public @Nullable Entry<K, V> floorEntry(@ParametricNullness K key) { return headMap(key, true).lastEntry(); } @Override public @Nullable Entry<K, V> ceilingEntry(@ParametricNullness K key) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
return delegate.get(checkValid(key)); } @Override public SortedMap<K, V> headMap(K toKey) { return headMap(toKey, false); } @Override public NavigableMap<K, V> headMap(K toKey, boolean inclusive) { return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive)); } @Override public @Nullable Entry<K, V> higherEntry(K key) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 7.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractNavigableMap.java
return entry.getKey(); } } @Override public @Nullable Entry<K, V> lowerEntry(@ParametricNullness K key) { return headMap(key, false).lastEntry(); } @Override public @Nullable Entry<K, V> floorEntry(@ParametricNullness K key) { return headMap(key, true).lastEntry(); } @Override public @Nullable Entry<K, V> ceilingEntry(@ParametricNullness K key) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
assertEquals(Integer.valueOf(4), map.get("four")); SortedMap<String, Integer> headMap = map.headMap("two"); assertEquals(ImmutableSortedMap.of("four", 4, "one", 3, "three", 5), headMap); strings.add("five"); strings.remove("one"); assertEquals(ImmutableSortedMap.of("five", 4, "four", 4, "three", 5), headMap); assertThat(map.entrySet()) .containsExactly(
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/ForwardingSortedMap.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
return delegate.get(checkValid(key)); } @Override public SortedMap<K, V> headMap(K toKey) { return headMap(toKey, false); } @Override public NavigableMap<K, V> headMap(K toKey, boolean inclusive) { return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive)); } @Override public @Nullable Entry<K, V> higherEntry(K key) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 7.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
assertEquals(Integer.valueOf(4), map.get("four")); SortedMap<String, Integer> headMap = map.headMap("two"); assertEquals(ImmutableSortedMap.of("four", 4, "one", 3, "three", 5), headMap); strings.add("five"); strings.remove("one"); assertEquals(ImmutableSortedMap.of("five", 4, "four", 4, "three", 5), headMap); assertThat(map.entrySet()) .containsExactly(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
} @Override public NavigableMap<K, Collection<V>> headMap(@ParametricNullness K toKey) { return headMap(toKey, false); } @Override public NavigableMap<K, Collection<V>> headMap(@ParametricNullness K toKey, boolean inclusive) { return new NavigableAsMap(sortedMap().headMap(toKey, inclusive)); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0)