Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for higherKey (0.21 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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