- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for floorKey (0.06 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
assertEquals(a, navigableMap.floorEntry(a.getKey())); assertEquals(a.getKey(), navigableMap.floorKey(a.getKey())); assertEquals(a, navigableMap.floorEntry(b.getKey())); assertEquals(a.getKey(), navigableMap.floorKey(b.getKey())); assertEquals(c, navigableMap.floorEntry(c.getKey())); assertEquals(c.getKey(), navigableMap.floorKey(c.getKey())); } @CollectionSize.Require(SEVERAL) public void testCeiling() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java
return standardLowerKey(key); } @Override public @Nullable Entry<K, V> floorEntry(K key) { return standardFloorEntry(key); } @Override public @Nullable K floorKey(K key) { return standardFloorKey(key); } @Override public @Nullable Entry<K, V> ceilingEntry(K key) { return standardCeilingEntry(key); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 9.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
Entry<K, Collection<V>> entry = sortedMap().floorEntry(key); return (entry == null) ? null : wrapEntry(entry); } @Override public @Nullable K floorKey(@ParametricNullness K key) { return sortedMap().floorKey(key); } @Override public @Nullable Entry<K, Collection<V>> ceilingEntry(@ParametricNullness K key) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
if (subRange.isEmpty()) { return emptyIterator(); } Cut<K> cutToStart = MoreObjects.firstNonNull( entriesByLowerBound.floorKey(subRange.lowerBound), subRange.lowerBound); Iterator<RangeMapEntry<K, V>> backingItr = entriesByLowerBound.tailMap(cutToStart, true).values().iterator();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
public @Nullable Entry<K, V2> floorEntry(@ParametricNullness K key) { return transformEntry(fromMap().floorEntry(key)); } @Override public @Nullable K floorKey(@ParametricNullness K key) { return fromMap().floorKey(key); } @Override public NavigableMap<K, V2> headMap(@ParametricNullness K toKey) { return headMap(toKey, false); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
public @Nullable Entry<K, V2> floorEntry(@ParametricNullness K key) { return transformEntry(fromMap().floorEntry(key)); } @Override public @Nullable K floorKey(@ParametricNullness K key) { return fromMap().floorKey(key); } @Override public NavigableMap<K, V2> headMap(@ParametricNullness K toKey) { return headMap(toKey, false); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 163.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
assertEquals(mapEntry("one", 3), map.ceilingEntry("one")); assertEquals("one", map.lowerKey("three")); assertEquals("one", map.lowerKey("r")); 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();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 62.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
if (subRange.isEmpty()) { return emptyIterator(); } Cut<K> cutToStart = MoreObjects.firstNonNull( entriesByLowerBound.floorKey(subRange.lowerBound), subRange.lowerBound); Iterator<RangeMapEntry<K, V>> backingItr = entriesByLowerBound.tailMap(cutToStart, true).values().iterator();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 26.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
assertEquals(mapEntry("one", 3), map.ceilingEntry("one")); assertEquals("one", map.lowerKey("three")); assertEquals("one", map.lowerKey("r")); 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();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 65K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
return keyOrNull(lowerEntry(key)); } @Override public @Nullable Entry<K, V> floorEntry(K key) { return headMap(key, true).lastEntry(); } @Override public @Nullable K floorKey(K key) { return keyOrNull(floorEntry(key)); } @Override public @Nullable Entry<K, V> ceilingEntry(K key) { return tailMap(key, true).firstEntry(); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 52.9K bytes - Click Count (0)