Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for INCLUSIVE (0.03 sec)

  1. android/guava/src/com/google/common/collect/ContiguousSet.java

      public ContiguousSet<C> tailSet(C fromElement, boolean inclusive) {
        return tailSetImpl(checkNotNull(fromElement), inclusive);
      }
    
      /*
       * These methods perform most headSet, subSet, and tailSet logic, besides parameter validation.
       */
      @SuppressWarnings("MissingOverride") // Supermethod does not exist under GWT.
      abstract ContiguousSet<C> headSetImpl(C toElement, boolean inclusive);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      }
    
      @Override
      ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) {
        return getSubSet(0, headIndex(toElement, inclusive));
      }
    
      int headIndex(E toElement, boolean inclusive) {
        int index = Collections.binarySearch(elements, checkNotNull(toElement), comparator());
        if (index >= 0) {
          return inclusive ? index + 1 : index;
        } else {
          return ~index;
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ContiguousSet.java

      public ContiguousSet<C> tailSet(C fromElement, boolean inclusive) {
        return tailSetImpl(checkNotNull(fromElement), inclusive);
      }
    
      /*
       * These methods perform most headSet, subSet, and tailSet logic, besides parameter validation.
       */
      @SuppressWarnings("MissingOverride") // Supermethod does not exist under GWT.
      abstract ContiguousSet<C> headSetImpl(C toElement, boolean inclusive);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.9K 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

          for (boolean inclusive : new boolean[] {false, true}) {
            assertThat(navigableMap.headMap(key, inclusive).entrySet())
                .containsExactlyElementsIn(expected.headMap(key, inclusive).entrySet())
                .inOrder();
            assertThat(navigableMap.tailMap(key, inclusive).entrySet())
                .containsExactlyElementsIn(expected.tailMap(key, inclusive).entrySet())
                .inOrder();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularContiguousSet.java

            : new EmptyContiguousSet<C>(domain);
      }
    
      @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(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        @Override
        public NavigableSet<V> headSet(@ParametricNullness V toElement, boolean inclusive) {
          return wrap(getSortedSetDelegate().headSet(toElement, inclusive));
        }
    
        @Override
        public NavigableSet<V> tailSet(@ParametricNullness V fromElement, boolean inclusive) {
          return wrap(getSortedSetDelegate().tailSet(fromElement, inclusive));
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
Back to top