Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for tailMap (0.31 seconds)

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

      }
    
      /**
       * A sensible definition of {@link #tailMap(Object)} in terms of {@link #tailMap(Object,
       * boolean)}. If you override {@code tailMap(K, boolean)}, you may wish to override {@code
       * tailMap} to forward to this implementation.
       */
      protected SortedMap<K, V> standardTailMap(@ParametricNullness K fromKey) {
        return tailMap(fromKey, true);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ForwardingNavigableMap.java

      }
    
      /**
       * A sensible definition of {@link #tailMap(Object)} in terms of {@link #tailMap(Object,
       * boolean)}. If you override {@code tailMap(K, boolean)}, you may wish to override {@code
       * tailMap} to forward to this implementation.
       */
      protected SortedMap<K, V> standardTailMap(@ParametricNullness K fromKey) {
        return tailMap(fromKey, true);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        }
    
        @Override
        public NavigableMap<K, Collection<V>> tailMap(@ParametricNullness K fromKey) {
          return tailMap(fromKey, true);
        }
    
        @Override
        public NavigableMap<K, Collection<V>> tailMap(
            @ParametricNullness K fromKey, boolean inclusive) {
          return new NavigableAsMap(sortedMap().tailMap(fromKey, inclusive));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  4. 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)
  5. android/guava/src/com/google/common/collect/TreeRangeSet.java

            } else if (upperBoundWindow.lowerBound.isLessThan(lowerEntry.getValue().upperBound)) {
              backingItr = rangesByLowerBound.tailMap(lowerEntry.getKey(), true).values().iterator();
            } else {
              backingItr =
                  rangesByLowerBound
                      .tailMap(upperBoundWindow.lowerEndpoint(), true)
                      .values()
                      .iterator();
            }
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        }
    
        @Override
        public NavigableMap<K, Collection<V>> tailMap(@ParametricNullness K fromKey) {
          return tailMap(fromKey, true);
        }
    
        @Override
        public NavigableMap<K, Collection<V>> tailMap(
            @ParametricNullness K fromKey, boolean inclusive) {
          return new NavigableAsMap(sortedMap().tailMap(fromKey, inclusive));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. guava/src/com/google/common/collect/TreeBasedTable.java

        public SortedMap<C, V> headMap(C toKey) {
          checkArgument(rangeContains(checkNotNull(toKey)));
          return new TreeRow(rowKey, lowerBound, toKey);
        }
    
        @Override
        public SortedMap<C, V> tailMap(C fromKey) {
          checkArgument(rangeContains(checkNotNull(fromKey)));
          return new TreeRow(rowKey, fromKey, upperBound);
        }
    
        @Override
        public C firstKey() {
          updateBackingRowMapField();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        assertEquals(2, row.size());
        assertEquals(1, row.tailMap(15).size());
      }
    
      public void testSubRowClearAndPut() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        SortedMap<Integer, Character> row = (SortedMap<Integer, Character>) table.row("foo");
        SortedMap<Integer, Character> subRow = row.tailMap(2);
        assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), row);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
Back to Top