Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for higherKey (0.09 sec)

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

        assertEquals(c, navigableMap.higherEntry(a.getKey()));
        assertEquals(c.getKey(), navigableMap.higherKey(a.getKey()));
        assertEquals(c, navigableMap.higherEntry(b.getKey()));
        assertEquals(c.getKey(), navigableMap.higherKey(b.getKey()));
        assertEquals(null, navigableMap.higherEntry(c.getKey()));
        assertEquals(null, navigableMap.higherKey(c.getKey()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
    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().higherEntry(key);
        }
    
        @Override
        public @Nullable K higherKey(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().higherKey(key);
        }
    
        @Override
        public @Nullable Entry<K, V> lastEntry() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().lastEntry();
        }
    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

      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(K key) {
        return delegate.higherEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K higherKey(K key) {
        return delegate.higherKey(checkValid(key));
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public NavigableSet<K> keySet() {
    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

      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(K key) {
        return delegate.higherEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K higherKey(K key) {
        return delegate.higherKey(checkValid(key));
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public NavigableSet<K> keySet() {
    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/src/com/google/common/collect/Maps.java

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

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

            return nullableSynchronizedEntry(delegate().higherEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K higherKey(K key) {
          synchronized (mutex) {
            return delegate().higherKey(key);
          }
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> lastEntry() {
          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)
  8. guava/src/com/google/common/collect/Synchronized.java

            return nullableSynchronizedEntry(delegate().higherEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K higherKey(K key) {
          synchronized (mutex) {
            return delegate().higherKey(key);
          }
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> lastEntry() {
          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)
  9. guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(K key) {
        return tailMap(key, false).firstEntry();
      }
    
      @Override
      @CheckForNull
      public K higherKey(K key) {
        return keyOrNull(higherEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> firstEntry() {
        return isEmpty() ? null : entrySet().asList().get(0);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(K key) {
        return tailMap(key, false).firstEntry();
      }
    
      @Override
      @CheckForNull
      public K higherKey(K key) {
        return keyOrNull(higherEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> firstEntry() {
        return isEmpty() ? null : entrySet().asList().get(0);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top