Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for inclusive (0.17 sec)

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

          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE));
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/collect/BoundType.java

      /** The endpoint value <i>is not</i> considered part of the set ("exclusive"). */
      OPEN(false),
      CLOSED(true);
    
      final boolean inclusive;
    
      BoundType(boolean inclusive) {
        this.inclusive = inclusive;
      }
    
      /** Returns the bound type corresponding to a boolean value for inclusivity. */
      static BoundType forBoolean(boolean inclusive) {
        return inclusive ? CLOSED : OPEN;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE));
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. 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)
  8. guava/src/com/google/common/collect/BoundType.java

      /** The endpoint value <i>is not</i> considered part of the set ("exclusive"). */
      OPEN(false),
      CLOSED(true);
    
      final boolean inclusive;
    
      BoundType(boolean inclusive) {
        this.inclusive = inclusive;
      }
    
      /** Returns the bound type corresponding to a boolean value for inclusivity. */
      static BoundType forBoolean(boolean inclusive) {
        return inclusive ? CLOSED : OPEN;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingNavigableSet.java

        return subSet(fromElement, true, toElement, false);
      }
    
      @Override
      public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) {
        return delegate().headSet(toElement, inclusive);
      }
    
      /**
       * A sensible definition of {@link #headSet(Object)} in terms of the {@link #headSet(Object,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. 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)
Back to top