Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava/src/com/google/common/collect/Maps.java

        public @Nullable Entry<K, V2> ceilingEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().ceilingEntry(key));
        }
    
        @Override
        public @Nullable K ceilingKey(@ParametricNullness K key) {
          return fromMap().ceilingKey(key);
        }
    
        @Override
        public NavigableSet<K> descendingKeySet() {
          return fromMap().descendingKeySet();
        }
    
        @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)
  8. android/guava/src/com/google/common/collect/Maps.java

        public @Nullable Entry<K, V2> ceilingEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().ceilingEntry(key));
        }
    
        @Override
        public @Nullable K ceilingKey(@ParametricNullness K key) {
          return fromMap().ceilingKey(key);
        }
    
        @Override
        public NavigableSet<K> descendingKeySet() {
          return fromMap().descendingKeySet();
        }
    
        @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)
  9. android/guava/src/com/google/common/collect/TreeRangeMap.java

          if (lowerEntry != null
              && lowerEntry.getValue().getUpperBound().compareTo(subRange.lowerBound) > 0) {
            lowerBound = subRange.lowerBound;
          } else {
            lowerBound = entriesByLowerBound.ceilingKey(subRange.lowerBound);
            if (lowerBound == null || lowerBound.compareTo(subRange.upperBound) >= 0) {
              throw new NoSuchElementException();
            }
          }
    
          Cut<K> upperBound;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals("three", map.higherKey("one"));
        assertEquals("three", map.higherKey("r"));
        assertEquals("three", map.ceilingKey("r"));
        assertEquals("one", map.ceilingKey("one"));
        assertEquals(mapEntry("three", 5), map.higherEntry("one"));
        assertEquals(mapEntry("one", 3), map.ceilingEntry("one"));
        assertEquals("one", map.lowerKey("three"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
Back to top