Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for higherEntry (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

      public void testHigher() {
        resetWithHole();
        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()));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/AbstractNavigableMap.java

      }
    
      @Override
      public @Nullable Entry<K, V> ceilingEntry(@ParametricNullness K key) {
        return tailMap(key, true).firstEntry();
      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(@ParametricNullness K key) {
        return tailMap(key, false).firstEntry();
      }
    
      @Override
      public @Nullable K lowerKey(@ParametricNullness K key) {
        return Maps.keyOrNull(lowerEntry(key));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
        return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive));
      }
    
      @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() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
        return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive));
      }
    
      @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() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/TreeRangeMap.java

        coalescedRange = coalesce(coalescedRange, value, lowerEntry);
    
        Entry<Cut<K>, RangeMapEntry<K, V>> higherEntry =
            entriesByLowerBound.floorEntry(range.upperBound);
        coalescedRange = coalesce(coalescedRange, value, higherEntry);
    
        return coalescedRange;
      }
    
      /** Returns the range that spans the given range and entry, if the entry can be coalesced. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

          return standardCeilingEntry(key);
        }
    
        @Override
        public @Nullable K ceilingKey(K key) {
          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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

          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}) {
            assertThat(navigableMap.headMap(key, inclusive).entrySet())
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/TreeRangeMap.java

        coalescedRange = coalesce(coalescedRange, value, lowerEntry);
    
        Entry<Cut<K>, RangeMapEntry<K, V>> higherEntry =
            entriesByLowerBound.floorEntry(range.upperBound);
        coalescedRange = coalesce(coalescedRange, value, higherEntry);
    
        return coalescedRange;
      }
    
      /** Returns the range that spans the given range and entry, if the entry can be coalesced. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

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

          return transformEntries(fromMap().headMap(toKey, inclusive), transformer);
        }
    
        @Override
        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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
Back to Top