Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for higherEntry (0.09 sec)

  1. 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. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  2. 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) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  3. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  4. 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
    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. android/guava-tests/test/com/google/common/collect/MapsTest.java

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

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

        public SortedMap<K, V> headMap(K toKey) {
          return headMap(toKey, false);
        }
    
        @Override
        public Map.@Nullable Entry<K, V> higherEntry(K key) {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().higherEntry(key), mutex);
          }
        }
    
        @Override
        public @Nullable K higherKey(K key) {
          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)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return keyOrNull(ceilingEntry(key));
      }
    
      @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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals("three", map.higherKey("r"));
        assertEquals("three", map.ceilingKey("r"));
        assertEquals("one", map.ceilingKey("one"));
        assertEquals(mapEntry("three", 5), map.higherEntry("one"));
        assertEquals(mapEntry("one", 3), map.ceilingEntry("one"));
        assertEquals("one", map.lowerKey("three"));
        assertEquals("one", map.lowerKey("r"));
        assertEquals("one", map.floorKey("r"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
Back to top