Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for disjoint (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

         * MinimalCollection, which throws NullPointerException on calls to
         * contains(null).
         */
        List<E> disjointList = asList(e3(), e4());
        disjoint = new Target(disjointList, "disjoint");
        superset = new Target(MinimalCollection.of(e0(), e1(), e2(), e3(), e4()), "superset");
        nonEmptyProperSubset = new Target(MinimalCollection.of(e1()), "subset");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

         * MinimalCollection, which throws NullPointerException on calls to
         * contains(null).
         */
        List<E> disjointList = asList(e3(), e4());
        disjoint = new Target(disjointList, "disjoint");
        superset = new Target(MinimalCollection.of(e0(), e1(), e2(), e3(), e4()), "superset");
        nonEmptyProperSubset = new Target(MinimalCollection.of(e1()), "subset");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetOperationsTest.java

                        return Sets.union(
                            newHashSet(elements[0]), newHashSet(elements[1], elements[2]));
                      }
                    })
                .named("union of disjoint")
                .withFeatures(CollectionSize.SEVERAL, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.features;
    
    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static java.util.Collections.disjoint;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.annotation.Annotation;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        assertTrue(
            "addAll(middle, disjoint) should return true",
            getList().addAll(getNumElements() / 2, createDisjointCollection()));
        expectAdded(getNumElements() / 2, createDisjointCollection());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAllAtIndex_end() {
        assertTrue(
            "addAll(end, disjoint) should return true",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.features.FeatureUtil.addImpliedFeatures;
    import static java.util.Arrays.asList;
    import static java.util.Collections.disjoint;
    import static java.util.Collections.unmodifiableSet;
    import static java.util.logging.Level.FINER;
    
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        assertTrue(
            "addAll(middle, disjoint) should return true",
            getList().addAll(getNumElements() / 2, createDisjointCollection()));
        expectAdded(getNumElements() / 2, createDisjointCollection());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAllAtIndex_end() {
        assertTrue(
            "addAll(end, disjoint) should return true",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

                        return Sets.union(
                            newHashSet(elements[0]), newHashSet(elements[1], elements[2]));
                      }
                    })
                .named("union of disjoint")
                .withFeatures(CollectionSize.SEVERAL, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.features;
    
    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static java.util.Collections.disjoint;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.annotation.Annotation;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.features.FeatureUtil.addImpliedFeatures;
    import static java.util.Arrays.asList;
    import static java.util.Collections.disjoint;
    import static java.util.Collections.unmodifiableSet;
    import static java.util.logging.Level.FINER;
    
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top