Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for tailMap (0.07 sec)

  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);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (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);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. 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();
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  4. android/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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.1K bytes
    - Viewed (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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.1K bytes
    - Viewed (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));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  7. 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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. android/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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeRangeMap.java

                MoreObjects.firstNonNull(
                    entriesByLowerBound.floorKey(subRange.lowerBound), subRange.lowerBound);
            Iterator<RangeMapEntry<K, V>> backingItr =
                entriesByLowerBound.tailMap(cutToStart, true).values().iterator();
            return new AbstractIterator<Entry<Range<K>, V>>() {
    
              @Override
              protected @Nullable Entry<Range<K>, V> computeNext() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
Back to top