Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ceilingEntry (0.14 sec)

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

      public void testCeiling() {
        resetWithHole();
        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()));
      }
    
    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

        protected NavigableMap<K, V> delegate() {
          return (NavigableMap<K, V>) super.delegate();
        }
    
        @Override
        public @Nullable Entry<K, V> ceilingEntry(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().ceilingEntry(key);
        }
    
        @Override
        public @Nullable K ceilingKey(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().ceilingKey(key);
    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. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        if (delegate == null) {
          throw new NullPointerException();
        }
        for (K k : keySet()) {
          checkValid(k);
        }
      }
    
      @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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        if (delegate == null) {
          throw new NullPointerException();
        }
        for (K k : keySet()) {
          checkValid(k);
        }
      }
    
      @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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        for (K key : keysToTest) {
          assertEquals(expected.lowerEntry(key), navigableMap.lowerEntry(key));
          assertEquals(expected.floorEntry(key), navigableMap.floorEntry(key));
          assertEquals(expected.ceilingEntry(key), navigableMap.ceilingEntry(key));
          assertEquals(expected.higherEntry(key), navigableMap.higherEntry(key));
          for (boolean inclusive : new boolean[] {false, true}) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

          super(fromMap, transformer);
        }
    
        @Override
        @CheckForNull
        public Entry<K, V2> ceilingEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().ceilingEntry(key));
        }
    
        @Override
        @CheckForNull
        public K ceilingKey(@ParametricNullness K key) {
          return fromMap().ceilingKey(key);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

          super(fromMap, transformer);
        }
    
        @Override
        @CheckForNull
        public Entry<K, V2> ceilingEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().ceilingEntry(key));
        }
    
        @Override
        @CheckForNull
        public K ceilingKey(@ParametricNullness K key) {
          return fromMap().ceilingKey(key);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMap.java

        return keyOrNull(floorEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(K key) {
        return tailMap(key, true).firstEntry();
      }
    
      @Override
      @CheckForNull
      public K ceilingKey(K key) {
        return keyOrNull(ceilingEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(K key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Synchronized.java

          return (NavigableMap<K, V>) super.delegate();
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> ceilingEntry(K key) {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().ceilingEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K ceilingKey(K key) {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Synchronized.java

          return (NavigableMap<K, V>) super.delegate();
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> ceilingEntry(K key) {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().ceilingEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K ceilingKey(K key) {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
Back to top