Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for descendingMap (0.06 seconds)

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

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

      @Override
      public ImmutableSortedMap<K, V> descendingMap() {
        // TODO(kevinb): The descendingMap is never actually cached at all. Either:
        //
        // - Cache it, and annotate the field with @LazyInit.
        // - Simplify the code below, and consider eliminating the field (b/287198172), which is also
        //   set by one of the constructors.
        ImmutableSortedMap<K, V> result = descendingMap;
        if (result == null) {
    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)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        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();
        assertEquals(map.headMap("three", true), map.descendingMap().tailMap("three", true));
        assertThat(map.tailMap("three", false).entrySet()).contains(mapEntry("two", 3));
    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)
Back to Top