Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for tailMap (0.05 seconds)

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

        }
    
        @Override
        public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().tailMap(fromKey, inclusive);
        }
    
        @Override
        public SortedMap<K, V> tailMap(K fromKey) {
          return tailMap(fromKey, true);
        }
    
        @Override
        public Comparator<? super K> comparator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return subMap(fromKey, true, toKey, false);
      }
    
      @Override
      public SortedMap<K, V> tailMap(K fromKey) {
        return tailMap(fromKey, true);
      }
    
      @Override
      public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
        return new SafeTreeMap<>(delegate.tailMap(checkValid(fromKey), inclusive));
      }
    
      @Override
      public Collection<V> values() {
        return delegate.values();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      @Override
      public ImmutableSortedMap<K, V> tailMap(K fromKey) {
        return tailMap(fromKey, true);
      }
    
      /**
       * This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys are
       * greater than (or equal to, if {@code inclusive}) {@code fromKey}.
       *
       * <p>The {@link SortedMap#tailMap} documentation states that a submap of a submap throws an
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return subMap(fromKey, true, toKey, false);
      }
    
      @Override
      public SortedMap<K, V> tailMap(K fromKey) {
        return tailMap(fromKey, true);
      }
    
      @Override
      public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
        return new SafeTreeMap<>(delegate.tailMap(checkValid(fromKey), inclusive));
      }
    
      @Override
      public Collection<V> values() {
        return delegate.values();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        checkArgument(comparator.compare(fromKey, toKey) <= 0);
        return tailMap(fromKey, fromInclusive).headMap(toKey, toInclusive);
      }
    
      @Override
      public ImmutableSortedMap<K, V> tailMap(K fromKey) {
        checkNotNull(fromKey);
        return newView(sortedDelegate.tailMap(fromKey));
      }
    
      public ImmutableSortedMap<K, V> tailMap(K fromKeyParam, boolean inclusive) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public NavigableMap<K, V2> tailMap(@ParametricNullness K fromKey) {
          return tailMap(fromKey, true);
        }
    
        @Override
        public NavigableMap<K, V2> tailMap(@ParametricNullness K fromKey, boolean inclusive) {
          return transformEntries(fromMap().tailMap(fromKey, inclusive), transformer);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public NavigableMap<K, V2> tailMap(@ParametricNullness K fromKey) {
          return tailMap(fromKey, true);
        }
    
        @Override
        public NavigableMap<K, V2> tailMap(@ParametricNullness K fromKey, boolean inclusive) {
          return transformEntries(fromMap().tailMap(fromKey, inclusive), transformer);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      @Override
      public ImmutableSortedMap<K, V> tailMap(K fromKey) {
        return tailMap(fromKey, true);
      }
    
      /**
       * This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys are
       * greater than (or equal to, if {@code inclusive}) {@code fromKey}.
       *
       * <p>The {@link SortedMap#tailMap} documentation states that a submap of a submap throws an
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

            .inOrder();
        assertEquals(map.headMap("three", true), map.descendingMap().tailMap("three", true));
        assertThat(map.tailMap("three", false).entrySet()).contains(mapEntry("two", 3));
        assertThat(map.tailMap("three", true).lowerEntry("three")).isNull();
        assertThat(map.headMap("two", false).values()).containsExactly(3, 5).inOrder();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).tailMap("three", true);
        assertThat(map.entrySet())
            .containsExactly(immutableEntry("three", 3), immutableEntry("two", 2))
            .inOrder();
      }
    
      public void testTailMapExclusive() {
        Map<String, Integer> map =
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).tailMap("three", false);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
Back to Top