Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for floorKey (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        assertEquals(mapEntry("one", 3), map.ceilingEntry("one"));
        assertEquals("one", map.lowerKey("three"));
        assertEquals("one", map.lowerKey("r"));
        assertEquals("one", map.floorKey("r"));
        assertEquals("three", map.floorKey("three"));
    
        assertThat(map.descendingMap().entrySet())
            .containsExactly(mapEntry("two", 3), mapEntry("three", 5), mapEntry("one", 3))
            .inOrder();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 62.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return keyOrNull(lowerEntry(key));
      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      public @Nullable K floorKey(K key) {
        return keyOrNull(floorEntry(key));
      }
    
      @Override
      public @Nullable Entry<K, V> ceilingEntry(K key) {
        return tailMap(key, true).firstEntry();
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 52.9K bytes
    - Click Count (0)
Back to Top