Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for higherEntry (0.08 sec)

  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()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. 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. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMap.java

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

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

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

        return keyOrNull(ceilingEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> higherEntry(K key) {
        return tailMap(key, false).firstEntry();
      }
    
      @Override
      @CheckForNull
      public K higherKey(K key) {
        return keyOrNull(higherEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> firstEntry() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top