Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for floorKey (0.15 sec)

  1. 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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. 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) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  3. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  6. 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();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. 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();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  8. 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();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().floorEntry(key), mutex);
          }
        }
    
        @Override
        public @Nullable K floorKey(K key) {
          synchronized (mutex) {
            return delegate().floorKey(key);
          }
        }
    
        @Override
        public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
          synchronized (mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().floorEntry(key), mutex);
          }
        }
    
        @Override
        public @Nullable K floorKey(K key) {
          synchronized (mutex) {
            return delegate().floorKey(key);
          }
        }
    
        @Override
        public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
          synchronized (mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
Back to top