Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for inclusive (0.07 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

          derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND));
          derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE));
          derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE));
        }
    
        return derivedSuites;
      }
    
      private TestSuite createSubMultisetSuite(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/SortedMultisets.java

        }
    
        @Override
        public NavigableSet<E> tailSet(@ParametricNullness E fromElement, boolean inclusive) {
          return new NavigableElementSet<>(
              multiset().tailMultiset(fromElement, BoundType.forBoolean(inclusive)));
        }
      }
    
      private static <E extends @Nullable Object> E getElementOrThrow(@Nullable Entry<E> entry) {
        if (entry == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

          derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND));
          derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE));
          derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE));
          derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE));
        }
    
        return derivedSuites;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int i = 0; i < 10; i++) {
              for (boolean inclusive : ImmutableList.of(true, false)) {
                assertEquals(
                    filter(createUnfiltered(contents).headSet(i, inclusive), EVEN),
                    filter(createUnfiltered(contents), EVEN).headSet(i, inclusive));
              }
            }
          }
        }
    
        public void testNavigableTailSet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeSet.java

          return subMap(
              Range.range(
                  fromKey, BoundType.forBoolean(fromInclusive),
                  toKey, BoundType.forBoolean(toInclusive)));
        }
    
        @Override
        public NavigableMap<Cut<C>, Range<C>> headMap(Cut<C> toKey, boolean inclusive) {
          return subMap(Range.upTo(toKey, BoundType.forBoolean(inclusive)));
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      @Override
      ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) {
        return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive)));
      }
    
      @Override
      @SuppressWarnings("unchecked") // TODO(cpovirk): Use a shared unsafeCompare method.
      ContiguousSet<C> subSetImpl(
          C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            @ParametricNullness V toElement,
            boolean toInclusive) {
          return wrap(
              getSortedSetDelegate().subSet(fromElement, fromInclusive, toElement, toInclusive));
        }
    
        @Override
        public NavigableSet<V> headSet(@ParametricNullness V toElement, boolean inclusive) {
          return wrap(getSortedSetDelegate().headSet(toElement, inclusive));
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Ascii.java

      /**
       * File Separator: These four information separators may be used within data in optional fashion,
       * except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then
       * RS, and US is least inclusive. (The content and length of a File, Group, Record, or Unit are
       * not specified.)
       *
       * @since 8.0
       */
      public static final byte FS = 28;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        ImmutableSortedSet<E> set = headSet(e, true);
        return !set.isEmpty() ? set.last() : null;
      }
    
      public ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) {
        checkNotNull(toElement);
        if (inclusive) {
          E tmp = higher(toElement);
          if (tmp == null) {
            return this;
          }
          toElement = tmp;
        }
        return headSet(toElement);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        }
    
        @Override
        ImmutableSortedSet<C> headSetImpl(C toElement, boolean inclusive) {
          return subSet(Range.upTo(toElement, BoundType.forBoolean(inclusive)));
        }
    
        @Override
        ImmutableSortedSet<C> subSetImpl(
            C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
          if (!fromInclusive && !toInclusive && Range.compareOrThrow(fromElement, toElement) == 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
Back to top