Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for lowerKey (0.14 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lowerEntry(K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
      public K lowerKey(K key) {
        return keyOrNull(lowerEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(@ParametricNullness K key) {
        return tailMap(key, false).firstEntry();
      }
    
      @Override
      @CheckForNull
      public K lowerKey(@ParametricNullness K key) {
        return Maps.keyOrNull(lowerEntry(key));
      }
    
      @Override
      @CheckForNull
      public K floorKey(@ParametricNullness K key) {
        return Maps.keyOrNull(floorEntry(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)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        assertEquals(null, navigableMap.lowerEntry(a.getKey()));
        assertEquals(null, navigableMap.lowerKey(a.getKey()));
        assertEquals(a, navigableMap.lowerEntry(b.getKey()));
        assertEquals(a.getKey(), navigableMap.lowerKey(b.getKey()));
        assertEquals(a, navigableMap.lowerEntry(c.getKey()));
        assertEquals(a.getKey(), navigableMap.lowerKey(c.getKey()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloor() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public @Nullable Entry<K, V> lowerEntry(K key) {
        return delegate.lowerEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K lowerKey(K key) {
        return delegate.lowerKey(checkValid(key));
      }
    
      @Override
      public NavigableSet<K> navigableKeySet() {
        return delegate.navigableKeySet();
      }
    
      @Override
    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. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

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

      }
    
      @Override
      public @Nullable Entry<K, V> lowerEntry(K key) {
        return delegate.lowerEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K lowerKey(K key) {
        return delegate.lowerKey(checkValid(key));
      }
    
      @Override
      public NavigableSet<K> navigableKeySet() {
        return delegate.navigableKeySet();
      }
    
      @Override
    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. guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(@ParametricNullness K key) {
        return tailMap(key, false).firstEntry();
      }
    
      @Override
      @CheckForNull
      public K lowerKey(@ParametricNullness K key) {
        return Maps.keyOrNull(lowerEntry(key));
      }
    
      @Override
      @CheckForNull
      public K floorKey(@ParametricNullness K key) {
        return Maps.keyOrNull(floorEntry(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)
  8. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

          return standardSubMap(fromKey, toKey);
        }
    
        @Override
        public @Nullable Entry<K, V> lowerEntry(K key) {
          return standardLowerEntry(key);
        }
    
        @Override
        public @Nullable K lowerKey(K key) {
          return standardLowerKey(key);
        }
    
        @Override
        public @Nullable Entry<K, V> floorEntry(K key) {
          return standardFloorEntry(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)
  9. android/guava/src/com/google/common/collect/Synchronized.java

            return nullableSynchronizedEntry(delegate().lowerEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K lowerKey(K key) {
          synchronized (mutex) {
            return delegate().lowerKey(key);
          }
        }
    
        @Override
        public Set<K> keySet() {
          return navigableKeySet();
        }
    
    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 nullableSynchronizedEntry(delegate().lowerEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K lowerKey(K key) {
          synchronized (mutex) {
            return delegate().lowerKey(key);
          }
        }
    
        @Override
        public Set<K> keySet() {
          return navigableKeySet();
        }
    
    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