Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for subSetImpl (0.15 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top