Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for lowerEntry (0.06 sec)

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

      private Range<K> coalescedRange(Range<K> range, V value) {
        Range<K> coalescedRange = range;
        Entry<Cut<K>, RangeMapEntry<K, V>> lowerEntry =
            entriesByLowerBound.lowerEntry(range.lowerBound);
        coalescedRange = coalesce(coalescedRange, value, lowerEntry);
    
        Entry<Cut<K>, RangeMapEntry<K, V>> higherEntry =
            entriesByLowerBound.floorEntry(range.upperBound);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K 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/src/com/google/common/collect/TreeRangeMap.java

      private Range<K> coalescedRange(Range<K> range, V value) {
        Range<K> coalescedRange = range;
        Entry<Cut<K>, RangeMapEntry<K, V>> lowerEntry =
            entriesByLowerBound.lowerEntry(range.lowerBound);
        coalescedRange = coalesce(coalescedRange, value, lowerEntry);
    
        Entry<Cut<K>, RangeMapEntry<K, V>> higherEntry =
            entriesByLowerBound.floorEntry(range.upperBound);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate().lastEntry();
        }
    
        @Override
        public @Nullable Entry<K, V> lowerEntry(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().lowerEntry(key);
        }
    
        @Override
        public @Nullable K lowerKey(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().lowerKey(key);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

        public Entry<K, V2> lastEntry() {
          return transformEntry(fromMap().lastEntry());
        }
    
        @Override
        @CheckForNull
        public Entry<K, V2> lowerEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().lowerEntry(key));
        }
    
        @Override
        @CheckForNull
        public K lowerKey(@ParametricNullness K key) {
          return fromMap().lowerKey(key);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

        public Entry<K, V2> lastEntry() {
          return transformEntry(fromMap().lastEntry());
        }
    
        @Override
        @CheckForNull
        public Entry<K, V2> lowerEntry(@ParametricNullness K key) {
          return transformEntry(fromMap().lowerEntry(key));
        }
    
        @Override
        @CheckForNull
        public K lowerKey(@ParametricNullness K key) {
          return fromMap().lowerKey(key);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lowerEntry(K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
      public K lowerKey(K key) {
        return keyOrNull(lowerEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(K key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Synchronized.java

            return nullableSynchronizedEntry(delegate().lastEntry(), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> lowerEntry(K key) {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().lowerEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K lowerKey(K key) {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Synchronized.java

            return nullableSynchronizedEntry(delegate().lastEntry(), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> lowerEntry(K key) {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().lowerEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K lowerKey(K key) {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
Back to top