- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for createArrayWithDuplicateElement (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
@CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = {ZERO, ONE}) public void testRemoveAll_duplicate() { ArrayWithDuplicate<E> arrayAndDuplicate = createArrayWithDuplicateElement(); collection = getSubjectGenerator().create(arrayAndDuplicate.elements); E duplicate = arrayAndDuplicate.duplicate; assertTrue( "removeAll(intersectingCollection) should return true",
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
this.duplicate = duplicate; } } /** * @return an array of the proper size with a duplicate element. The size must be at least three. */ protected ArrayWithDuplicate<E> createArrayWithDuplicateElement() { E[] elements = createSamplesArray(); E duplicate = elements[(elements.length / 2) - 1]; elements[(elements.length / 2) + 1] = duplicate; return new ArrayWithDuplicate<>(elements, duplicate);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 8.9K bytes - Click Count (0)