Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for subSetImpl (0.06 sec)

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

      @Override
      public ContiguousSet<C> subSet(C fromElement, C toElement) {
        checkNotNull(fromElement);
        checkNotNull(toElement);
        checkArgument(comparator().compare(fromElement, toElement) <= 0);
        return subSetImpl(fromElement, true, toElement, false);
      }
    
      /**
       * @since 12.0
       */
      @GwtIncompatible // NavigableSet
      @Override
      public ContiguousSet<C> subSet(
    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/src/com/google/common/collect/ContiguousSet.java

      @Override
      public ContiguousSet<C> subSet(C fromElement, C toElement) {
        checkNotNull(fromElement);
        checkNotNull(toElement);
        checkArgument(comparator().compare(fromElement, toElement) <= 0);
        return subSetImpl(fromElement, true, toElement, false);
      }
    
      /**
       * @since 12.0
       */
      @GwtIncompatible // NavigableSet
      @Override
      public ContiguousSet<C> subSet(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      }
    
      @Override
      ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) {
        return forward.tailSet(toElement, inclusive).descendingSet();
      }
    
      @Override
      ImmutableSortedSet<E> subSetImpl(
          E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
        return forward.subSet(toElement, toInclusive, fromElement, fromInclusive).descendingSet();
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

        throw new NoSuchElementException();
      }
    
      @Override
      ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) {
        return this;
      }
    
      @Override
      ContiguousSet<C> subSetImpl(
          C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
        return this;
      }
    
      @Override
      ContiguousSet<C> tailSetImpl(C fromElement, boolean fromInclusive) {
        return this;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        if (index >= 0) {
          return inclusive ? index + 1 : index;
        } else {
          return ~index;
        }
      }
    
      @Override
      ImmutableSortedSet<E> subSetImpl(
          E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
        return tailSetImpl(fromElement, fromInclusive).headSetImpl(toElement, toInclusive);
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularContiguousSet.java

        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) {
        if (fromElement.compareTo(toElement) == 0 && !fromInclusive && !toInclusive) {
          // Range would reject our attempt to create (x, x).
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. 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) {
            return ImmutableSortedSet.of();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 27.5K bytes
    - Viewed (0)
Back to top