Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DescendingMap (0.12 sec)

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

      }
    
      public void testDescendingMap() {
        NavigableMap<String, Integer> map = create();
        NavigableMap<String, Integer> descendingMap = map.descendingMap();
        assertTrue(descendingMap instanceof SynchronizedNavigableMap);
        assertSame(mutex, ((SynchronizedNavigableMap<String, Integer>) descendingMap).mutex);
      }
    
      public void testFirstEntry() {
        create().firstEntry();
      }
    
      public void testFirstKey() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

            assertThat(navigableMap.headMap(key, inclusive).descendingMap().entrySet())
                .containsExactlyElementsIn(expected.headMap(key, inclusive).descendingMap().entrySet())
                .inOrder();
            assertThat(navigableMap.tailMap(key, inclusive).descendingMap().entrySet())
                .containsExactlyElementsIn(expected.tailMap(key, inclusive).descendingMap().entrySet())
                .inOrder();
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeRangeMap.java

        return new AsMapOfRanges(entriesByLowerBound.values());
      }
    
      @Override
      public Map<Range<K>, V> asDescendingMapOfRanges() {
        return new AsMapOfRanges(entriesByLowerBound.descendingMap().values());
      }
    
      private final class AsMapOfRanges extends IteratorBasedAbstractMap<Range<K>, V> {
    
        final Iterable<Entry<Range<K>, V>> entryIterable;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeRangeMap.java

        return new AsMapOfRanges(entriesByLowerBound.values());
      }
    
      @Override
      public Map<Range<K>, V> asDescendingMapOfRanges() {
        return new AsMapOfRanges(entriesByLowerBound.descendingMap().values());
      }
    
      private final class AsMapOfRanges extends IteratorBasedAbstractMap<Range<K>, V> {
    
        final Iterable<Entry<Range<K>, V>> entryIterable;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top