Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for lowerEntry (0.07 sec)

  1. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lowerEntry(@ParametricNullness K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(@ParametricNullness K key) {
        return headMap(key, true).lastEntry();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      public void testLower() {
        resetWithHole();
        assertEquals(null, navigableMap.lowerEntry(a.getKey()));
        assertEquals(null, navigableMap.lowerKey(a.getKey()));
        assertEquals(a, navigableMap.lowerEntry(b.getKey()));
        assertEquals(a.getKey(), navigableMap.lowerKey(b.getKey()));
        assertEquals(a, navigableMap.lowerEntry(c.getKey()));
        assertEquals(a.getKey(), navigableMap.lowerKey(c.getKey()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                    MapFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                    MapFeature.GENERAL_PURPOSE)
                /*
                 * StandardDescendingMap uses lowerEntry(), and TreeMap.lowerEntry() deliberately
                 * produces immutable entries.
                 *
                 * TODO(cpovirk): Consider making StandardDescendingMap return a ForwardingEntry that
                 * supports setValue().
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractNavigableMap.java

        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lowerEntry(@ParametricNullness K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(@ParametricNullness K key) {
        return headMap(key, true).lastEntry();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return delegate.lastEntry();
      }
    
      @Override
      public K lastKey() {
        return delegate.lastKey();
      }
    
      @Override
      public @Nullable Entry<K, V> lowerEntry(K key) {
        return delegate.lowerEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K lowerKey(K key) {
        return delegate.lowerKey(checkValid(key));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return delegate.lastEntry();
      }
    
      @Override
      public K lastKey() {
        return delegate.lastKey();
      }
    
      @Override
      public @Nullable Entry<K, V> lowerEntry(K key) {
        return delegate.lowerEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K lowerKey(K key) {
        return delegate.lowerKey(checkValid(key));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top