Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for tailMap (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

          if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) {
            return map.headMap(lastInclusive, true);
          } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) {
            return map.tailMap(firstExclusive, false);
          } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) {
            return map.subMap(firstExclusive, false, lastExclusive, false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 7K bytes
    - Viewed (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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  9. 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)
  10. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        Set<Integer> googleValues = ImmutableSet.of(2, 6);
        Set<Integer> treeValues = ImmutableSet.of(4, 0);
        assertEquals(ImmutableMap.of("google", googleValues, "tree", treeValues), asMap.tailMap("g"));
        assertEquals(ImmutableMap.of("google", googleValues, "foo", fooValues), asMap.headMap("h"));
        assertEquals(ImmutableMap.of("google", googleValues), asMap.subMap("g", "h"));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top