Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for lowerEntry (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

      }
    
      <K, V> void testNavigationAgainstExpected(
          NavigableMap<K, V> expected, NavigableMap<K, V> navigableMap, Iterable<K> keysToTest) {
        for (K key : keysToTest) {
          assertEquals(expected.lowerEntry(key), navigableMap.lowerEntry(key));
          assertEquals(expected.floorEntry(key), navigableMap.floorEntry(key));
          assertEquals(expected.ceilingEntry(key), navigableMap.ceilingEntry(key));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(map.headMap("three", true), map.descendingMap().tailMap("three", true));
        assertThat(map.tailMap("three", false).entrySet()).contains(mapEntry("two", 3));
        assertThat(map.tailMap("three", true).lowerEntry("three")).isNull();
        assertThat(map.headMap("two", false).values()).containsExactly(3, 5).inOrder();
        assertThat(map.headMap("two", false).descendingMap().values()).containsExactly(5, 3).inOrder();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          return (NavigableMap<K, Collection<V>>) super.sortedMap();
        }
    
        @Override
        public @Nullable Entry<K, Collection<V>> lowerEntry(@ParametricNullness K key) {
          Entry<K, Collection<V>> entry = sortedMap().lowerEntry(key);
          return (entry == null) ? null : wrapEntry(entry);
        }
    
        @Override
        public @Nullable K lowerKey(@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)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(map.headMap("three", true), map.descendingMap().tailMap("three", true));
        assertThat(map.tailMap("three", false).entrySet()).contains(mapEntry("two", 3));
        assertThat(map.tailMap("three", true).lowerEntry("three")).isNull();
        assertThat(map.headMap("two", false).values()).containsExactly(3, 5).inOrder();
        assertThat(map.headMap("two", false).descendingMap().values()).containsExactly(5, 3).inOrder();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

        public @Nullable Entry<K, V2> lastEntry() {
          return transformEntry(fromMap().lastEntry());
        }
    
        @Override
        public @Nullable Entry<K, V2> lowerEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().lowerEntry(key));
        }
    
        @Override
        public @Nullable K lowerKey(@ParametricNullness K key) {
          return fromMap().lowerKey(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)
  6. guava/src/com/google/common/collect/Maps.java

        public @Nullable Entry<K, V2> lastEntry() {
          return transformEntry(fromMap().lastEntry());
        }
    
        @Override
        public @Nullable Entry<K, V2> lowerEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().lowerEntry(key));
        }
    
        @Override
        public @Nullable K lowerKey(@ParametricNullness K key) {
          return fromMap().lowerKey(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)
  7. android/guava/src/com/google/common/collect/Synchronized.java

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

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

        return getSubMap(keySet.tailIndex(checkNotNull(fromKey), inclusive), size());
      }
    
      @Override
      public @Nullable Entry<K, V> lowerEntry(K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      public @Nullable K lowerKey(K key) {
        return keyOrNull(lowerEntry(key));
      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return headMap(key, true).lastEntry();
    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