Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for subSetImpl (0.79 sec)

  1. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

          E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
        checkNotNull(fromElement);
        checkNotNull(toElement);
        checkArgument(comparator.compare(fromElement, toElement) <= 0);
        return subSetImpl(fromElement, fromInclusive, toElement, toInclusive);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>This method returns a serializable {@code ImmutableSortedSet}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  5. 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 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