Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for containsDuplicates (0.09 sec)

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

        nonEmptyProperSubset = new Target(MinimalCollection.of(e1()), "subset");
        sameElements = new Target(asList(createSamplesArray()), "sameElements");
        containsDuplicates =
            new Target(MinimalCollection.of(e0(), e0(), e3(), e3()), "containsDuplicates");
        partialOverlap = new Target(MinimalCollection.of(e2(), e3()), "partialOverlap");
        nullSingleton = new Target(Collections.<E>singleton(null), "nullSingleton");
      }
    
    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. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        nonEmptyProperSubset = new Target(MinimalCollection.of(e1()), "subset");
        sameElements = new Target(asList(createSamplesArray()), "sameElements");
        containsDuplicates =
            new Target(MinimalCollection.of(e0(), e0(), e3(), e3()), "containsDuplicates");
        partialOverlap = new Target(MinimalCollection.of(e2(), e3()), "partialOverlap");
        nullSingleton = new Target(Collections.<E>singleton(null), "nullSingleton");
      }
    
    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. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java

      public void testRetainAll_duplicatesKept() {
        E[] array = createSamplesArray();
        array[1] = e0();
        collection = getSubjectGenerator().create(array);
        assertFalse(
            "containsDuplicates.retainAll(superset) should return false",
            collection.retainAll(MinimalCollection.of(createSamplesArray())));
        expectContents(array);
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top