Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ceilingKey (0.18 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate().ceilingEntry(key);
        }
    
        @Override
        public @Nullable K ceilingKey(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().ceilingKey(key);
        }
    
        @Override
        public NavigableSet<K> descendingKeySet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().descendingKeySet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public K floorKey(@ParametricNullness K key) {
        return Maps.keyOrNull(floorEntry(key));
      }
    
      @Override
      @CheckForNull
      public K ceilingKey(@ParametricNullness K key) {
        return Maps.keyOrNull(ceilingEntry(key));
      }
    
      @Override
      @CheckForNull
      public K higherKey(@ParametricNullness K key) {
        return Maps.keyOrNull(higherEntry(key));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public K floorKey(@ParametricNullness K key) {
        return Maps.keyOrNull(floorEntry(key));
      }
    
      @Override
      @CheckForNull
      public K ceilingKey(@ParametricNullness K key) {
        return Maps.keyOrNull(ceilingEntry(key));
      }
    
      @Override
      @CheckForNull
      public K higherKey(@ParametricNullness K key) {
        return Maps.keyOrNull(higherEntry(key));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
Back to top