Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for INCLUSIVE (0.04 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/src/com/google/common/collect/SortedMultisets.java

        }
    
        @Override
        public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) {
          return new NavigableElementSet<>(
              multiset().headMultiset(toElement, BoundType.forBoolean(inclusive)));
        }
    
        @Override
        public NavigableSet<E> tailSet(@ParametricNullness E fromElement, boolean inclusive) {
          return new NavigableElementSet<>(
    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/google/SortedMultisetTestSuiteBuilder.java

          derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE));
          derivedSuites.add(createSubMultisetSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE));
        }
    
        return derivedSuites;
      }
    
      private TestSuite createSubMultisetSuite(
          SortedMultisetTestSuiteBuilder<E> parentBuilder, Bound from, Bound to) {
        TestMultisetGenerator<E> delegate =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/BoundType.java

      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)
  5. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          if (from == Bound.NO_BOUND && to == Bound.EXCLUSIVE) {
            return set.headSet(lastExclusive);
          } else if (from == Bound.INCLUSIVE && to == Bound.NO_BOUND) {
            return set.tailSet(firstInclusive);
          } else if (from == Bound.INCLUSIVE && to == Bound.EXCLUSIVE) {
            return set.subSet(firstInclusive, lastExclusive);
          } else {
            throw new IllegalArgumentException();
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. guava/src/com/google/common/collect/BoundType.java

      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-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)
  10. 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)
Back to top