Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for floorKey (0.04 seconds)

  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() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

        return headMap(key, true).lastEntry();
      }
    
      @Override
      public @Nullable K floorKey(@ParametricNullness K key) {
        return delegate().floorKey(key);
      }
    
      /**
       * A sensible definition of {@link #floorKey} in terms of {@code floorEntry}. If you override
       * {@code floorEntry}, you may wish to override {@code floorKey} to forward to this
       * implementation.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ForwardingNavigableMap.java

        return headMap(key, true).lastEntry();
      }
    
      @Override
      public @Nullable K floorKey(@ParametricNullness K key) {
        return delegate().floorKey(key);
      }
    
      /**
       * A sensible definition of {@link #floorKey} in terms of {@code floorEntry}. If you override
       * {@code floorEntry}, you may wish to override {@code floorKey} to forward to this
       * implementation.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return delegate.floorEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K floorKey(K key) {
        return delegate.floorKey(checkValid(key));
      }
    
      @Override
      public @Nullable V get(Object key) {
        return delegate.get(checkValid(key));
      }
    
      @Override
      public SortedMap<K, V> headMap(K toKey) {
    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)
  5. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return delegate.floorEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K floorKey(K key) {
        return delegate.floorKey(checkValid(key));
      }
    
      @Override
      public @Nullable V get(Object key) {
        return delegate.get(checkValid(key));
      }
    
      @Override
      public SortedMap<K, V> headMap(K toKey) {
    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)
  6. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @Override
      public @Nullable K lowerKey(@ParametricNullness K key) {
        return Maps.keyOrNull(lowerEntry(key));
      }
    
      @Override
      public @Nullable K floorKey(@ParametricNullness K key) {
        return Maps.keyOrNull(floorEntry(key));
      }
    
      @Override
      public @Nullable K ceilingKey(@ParametricNullness K key) {
        return Maps.keyOrNull(ceilingEntry(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)
  7. guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @Override
      public @Nullable K lowerKey(@ParametricNullness K key) {
        return Maps.keyOrNull(lowerEntry(key));
      }
    
      @Override
      public @Nullable K floorKey(@ParametricNullness K key) {
        return Maps.keyOrNull(floorEntry(key));
      }
    
      @Override
      public @Nullable K ceilingKey(@ParametricNullness K key) {
        return Maps.keyOrNull(ceilingEntry(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)
  8. 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)
  9. 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)
  10. 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)
Back to Top