Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ceilingKey (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        assertEquals(a, navigableMap.ceilingEntry(a.getKey()));
        assertEquals(a.getKey(), navigableMap.ceilingKey(a.getKey()));
        assertEquals(c, navigableMap.ceilingEntry(b.getKey()));
        assertEquals(c.getKey(), navigableMap.ceilingKey(b.getKey()));
        assertEquals(c, navigableMap.ceilingEntry(c.getKey()));
        assertEquals(c.getKey(), navigableMap.ceilingKey(c.getKey()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testHigher() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

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

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

        }
      }
    
      @Override
      public @Nullable Entry<K, V> ceilingEntry(K key) {
        return delegate.ceilingEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K ceilingKey(K key) {
        return delegate.ceilingKey(checkValid(key));
      }
    
      @Override
      public void clear() {
        delegate.clear();
      }
    
      @Override
      public Comparator<? super K> comparator() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

          @SuppressWarnings({"unchecked", "nullness"})
          SortedMap<@Nullable Object, V> self = (SortedMap<@Nullable Object, V>) this;
          Object ceilingKey = self.tailMap(key).firstKey();
          return unsafeCompare(comparator(), ceilingKey, key) == 0;
        } catch (ClassCastException | NoSuchElementException | NullPointerException e) {
          return false;
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        }
      }
    
      @Override
      public @Nullable Entry<K, V> ceilingEntry(K key) {
        return delegate.ceilingEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K ceilingKey(K key) {
        return delegate.ceilingKey(checkValid(key));
      }
    
      @Override
      public void clear() {
        delegate.clear();
      }
    
      @Override
      public Comparator<? super K> comparator() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @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));
      }
    
      @Override
      public @Nullable K higherKey(@ParametricNullness K key) {
        return Maps.keyOrNull(higherEntry(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)
  8. guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @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));
      }
    
      @Override
      public @Nullable K higherKey(@ParametricNullness K key) {
        return Maps.keyOrNull(higherEntry(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)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          Entry<K, Collection<V>> entry = sortedMap().ceilingEntry(key);
          return (entry == null) ? null : wrapEntry(entry);
        }
    
        @Override
        public @Nullable K ceilingKey(@ParametricNullness K key) {
          return sortedMap().ceilingKey(key);
        }
    
        @Override
        public @Nullable Entry<K, Collection<V>> higherEntry(@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)
  10. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

          return standardFloorKey(key);
        }
    
        @Override
        public @Nullable Entry<K, V> ceilingEntry(K key) {
          return standardCeilingEntry(key);
        }
    
        @Override
        public @Nullable K ceilingKey(K key) {
          return standardCeilingKey(key);
        }
    
        @Override
        public @Nullable Entry<K, V> higherEntry(K key) {
          return standardHigherEntry(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)
Back to top