Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for floorEntry (0.14 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      public void testFloor() {
        resetWithHole();
        assertEquals(a, navigableMap.floorEntry(a.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(a.getKey()));
        assertEquals(a, navigableMap.floorEntry(b.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(b.getKey()));
        assertEquals(c, navigableMap.floorEntry(c.getKey()));
        assertEquals(c.getKey(), navigableMap.floorKey(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

      }
    
      @Override
      @CheckForNull
      public Entry<Range<K>, V> getEntry(K key) {
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntry =
            entriesByLowerBound.floorEntry(Cut.belowValue(key));
        if (mapEntry != null && mapEntry.getValue().contains(key)) {
          return mapEntry.getValue();
        } else {
          return null;
        }
      }
    
      @Override
    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

      }
    
      @Override
      @CheckForNull
      public Entry<Range<K>, V> getEntry(K key) {
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntry =
            entriesByLowerBound.floorEntry(Cut.belowValue(key));
        if (mapEntry != null && mapEntry.getValue().contains(key)) {
          return mapEntry.getValue();
        } else {
          return null;
        }
      }
    
      @Override
    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(lowerEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      @CheckForNull
      public K floorKey(K key) {
        return keyOrNull(floorEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(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)
  5. android/guava/src/com/google/common/collect/Synchronized.java

            return nullableSynchronizedEntry(delegate().firstEntry(), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> floorEntry(K key) {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().floorEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K floorKey(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

            return nullableSynchronizedEntry(delegate().firstEntry(), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> floorEntry(K key) {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().floorEntry(key), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public K floorKey(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(lowerEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      @CheckForNull
      public K floorKey(K key) {
        return keyOrNull(floorEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(K key) {
    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