Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for floorKey (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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
    - 65K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
Back to top