Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 79 for SubSet (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/SetViewTest.java

                        set.addAll(difference);
                        Set<String> subset = newHashSet(samples());
                        subset.removeAll(difference);
                        return difference(set, subset);
                      }
                    })
                .named("set - subset")
                .withFeatures(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

        }
    
        @Override
        public NavigableSet<E> subSet(
            @ParametricNullness E fromElement,
            boolean fromInclusive,
            @ParametricNullness E toElement,
            boolean toInclusive) {
          return forward.subSet(toElement, toInclusive, fromElement, fromInclusive).descendingSet();
        }
    
        @Override
        public SortedSet<E> subSet(@ParametricNullness E fromElement, @ParametricNullness E toElement) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            for (int i = 0; i < 10; i++) {
              for (int j = i; j < 10; j++) {
                assertEquals(
                    filter((C) createUnfiltered(contents).subSet(i, j), EVEN),
                    filter(createUnfiltered(contents), EVEN).subSet(i, j));
              }
            }
          }
        }
      }
    
      public abstract static class AbstractFilteredNavigableSetTest
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      }
    
      @Override
      public NavigableSet<E> subSet(
          E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
        return new SafeTreeSet<>(
            delegate.subSet(
                checkValid(fromElement), fromInclusive, checkValid(toElement), toInclusive));
      }
    
      @Override
      public SortedSet<E> subSet(E fromElement, E toElement) {
        return subSet(fromElement, true, toElement, false);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * {@inheritDoc}
       *
       * <p>This method returns a serializable {@code ImmutableSortedSet}.
       *
       * <p>The {@link SortedSet#subSet} documentation states that a subset of a subset throws an {@link
       * IllegalArgumentException} if passed a {@code fromElement} smaller than an earlier {@code
       * fromElement}. However, this method doesn't throw an exception in that situation, but instead
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

          } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) {
            return set.subSet(firstExclusive, false, lastExclusive, false);
          } else if (from == Bound.EXCLUSIVE && to == Bound.INCLUSIVE) {
            return set.subSet(firstExclusive, false, lastInclusive, true);
          } else if (from == Bound.INCLUSIVE && to == Bound.INCLUSIVE) {
            return set.subSet(firstInclusive, true, lastInclusive, true);
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

             * greater than tooHigh.
             */
            return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1);
          }
          int tooHigh = set.last() + 1;
          int tooLow = set.first() - 1;
          set.add(tooHigh);
          set.add(tooLow);
          return checkedCreate(set).subSet(tooLow + 1, tooHigh);
        }
      }
    
      @GwtIncompatible // NavigableSet
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        }
    
        @Override
        public NavigableSet<K> subSet(
            @ParametricNullness K fromElement, @ParametricNullness K toElement) {
          return subSet(fromElement, true, toElement, false);
        }
    
        @Override
        public NavigableSet<K> subSet(
            @ParametricNullness K fromElement,
            boolean fromInclusive,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

        if (features.remove(CollectionFeature.ALLOWS_NULL_VALUES)) {
          // the null value might be out of bounds, so we can't always construct a subset with nulls
          features.add(CollectionFeature.ALLOWS_NULL_QUERIES);
          // but add null might still be supported if it happens to be within range of the subset
          suppressing.add(CollectionAddTester.getAddNullUnsupportedMethod());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

        if (features.remove(CollectionFeature.ALLOWS_NULL_VALUES)) {
          // the null value might be out of bounds, so we can't always construct a subset with nulls
          features.add(CollectionFeature.ALLOWS_NULL_QUERIES);
          // but add null might still be supported if it happens to be within range of the subset
          suppressing.add(CollectionAddTester.getAddNullUnsupportedMethod());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top