Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for higherKey (0.04 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

          return standardCeilingKey(key);
        }
    
        @Override
        public @Nullable Entry<K, V> higherEntry(K key) {
          return standardHigherEntry(key);
        }
    
        @Override
        public @Nullable K higherKey(K key) {
          return standardHigherKey(key);
        }
    
        @Override
        public @Nullable Entry<K, V> firstEntry() {
          return standardFirstEntry();
        }
    
        /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          Entry<K, Collection<V>> entry = sortedMap().higherEntry(key);
          return (entry == null) ? null : wrapEntry(entry);
        }
    
        @Override
        public @Nullable K higherKey(@ParametricNullness K key) {
          return sortedMap().higherKey(key);
        }
    
        @Override
        public @Nullable Entry<K, Collection<V>> firstEntry() {
          Entry<K, Collection<V>> entry = sortedMap().firstEntry();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

        public @Nullable Entry<K, V2> higherEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().higherEntry(key));
        }
    
        @Override
        public @Nullable K higherKey(@ParametricNullness K key) {
          return fromMap().higherKey(key);
        }
    
        @Override
        public @Nullable Entry<K, V2> lastEntry() {
          return transformEntry(fromMap().lastEntry());
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Maps.java

        public @Nullable Entry<K, V2> higherEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().higherEntry(key));
        }
    
        @Override
        public @Nullable K higherKey(@ParametricNullness K key) {
          return fromMap().higherKey(key);
        }
    
        @Override
        public @Nullable Entry<K, V2> lastEntry() {
          return transformEntry(fromMap().lastEntry());
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(ImmutableSortedMap.of("three", 5), map.subMap("one", false, "tr", true));
    
        assertEquals("three", map.higherKey("one"));
        assertEquals("three", map.higherKey("r"));
        assertEquals("three", map.ceilingKey("r"));
        assertEquals("one", map.ceilingKey("one"));
        assertEquals(mapEntry("three", 5), map.higherEntry("one"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().higherEntry(key), mutex);
          }
        }
    
        @Override
        public @Nullable K higherKey(K key) {
          synchronized (mutex) {
            return delegate().higherKey(key);
          }
        }
    
        @Override
        public Map.@Nullable Entry<K, V> lastEntry() {
          synchronized (mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().higherEntry(key), mutex);
          }
        }
    
        @Override
        public @Nullable K higherKey(K key) {
          synchronized (mutex) {
            return delegate().higherKey(key);
          }
        }
    
        @Override
        public Map.@Nullable Entry<K, V> lastEntry() {
          synchronized (mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(ImmutableSortedMap.of("three", 5), map.subMap("one", false, "tr", true));
    
        assertEquals("three", map.higherKey("one"));
        assertEquals("three", map.higherKey("r"));
        assertEquals("three", map.ceilingKey("r"));
        assertEquals("one", map.ceilingKey("one"));
        assertEquals(mapEntry("three", 5), map.higherEntry("one"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(K key) {
        return tailMap(key, false).firstEntry();
      }
    
      @Override
      public @Nullable K higherKey(K key) {
        return keyOrNull(higherEntry(key));
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
        return isEmpty() ? null : entrySet().asList().get(0);
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
Back to top