/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | CollectionRetainAllTester.java | 297 collection.retainAll(null); in testRetainAll_nullCollectionReferenceEmptySubject() 307 collection.retainAll(null); in testRetainAll_nullCollectionReferenceNonEmptySubject() 316 assertTrue(message, collection.retainAll(target.toRetain)); in expectReturnsTrue() 322 assertFalse(message, collection.retainAll(target.toRetain)); in expectReturnsFalse() 327 collection.retainAll(target.toRetain); in expectThrows() 338 assertFalse(message, collection.retainAll(target.toRetain)); in expectReturnsFalseOrThrows()
|
D | ListRetainAllTester.java | 45 collection.retainAll(MinimalCollection.of(createSamplesArray()))); in testRetainAll_duplicatesKept() 57 collection.retainAll(MinimalCollection.of(samples.e2))); in testRetainAll_duplicatesRemoved()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | EnumSetTest.java | 1207 set.retainAll(null); in test_retainAll_LCollection() 1214 boolean result = set.retainAll(null); in test_retainAll_LCollection() 1218 result = set.retainAll(rawCollection); in test_retainAll_LCollection() 1222 result = set.retainAll(rawCollection); in test_retainAll_LCollection() 1226 result = set.retainAll(rawCollection); in test_retainAll_LCollection() 1231 result = set.retainAll(rawCollection); in test_retainAll_LCollection() 1235 result = set.retainAll(anotherSet); in test_retainAll_LCollection() 1241 result = set.retainAll(setWithInnerClass); in test_retainAll_LCollection() 1246 result = set.retainAll(setWithInnerClass); in test_retainAll_LCollection() 1250 result = set.retainAll(emptySet); in test_retainAll_LCollection() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | ForwardingCollection.java | 104 public boolean retainAll(Collection<?> collection) { in retainAll() method in ForwardingCollection 105 return delegate().retainAll(collection); in retainAll() 201 return Iterators.retainAll(iterator(), collection); in standardRetainAll()
|
D | StandardTable.java | 610 @Override public boolean retainAll(Collection<?> c) { 679 @Override public boolean retainAll(final Collection<?> c) { 737 @Override public boolean retainAll(final Collection<?> c) { 837 @Override public boolean retainAll(Collection<?> c) { 843 if (map.keySet().retainAll(c)) { 1099 @Override public boolean retainAll(Collection<?> c) { 1139 @Override public boolean retainAll(Collection<?> c) {
|
D | Multiset.java | 435 boolean retainAll(Collection<?> c); in retainAll() method
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | EmptyCachesTest.java | 163 assertFalse(keys.retainAll(asList(null, 0, 15, 1500))); in testKeySet_empty_remove() 183 assertFalse(keys.retainAll(asList(null, 0, 15, 1500))); in testKeySet_remove() 240 assertFalse(values.retainAll(asList(null, 0, 15, 1500))); in testValues_empty_remove() 260 assertFalse(values.retainAll(asList(null, 0, 15, 1500))); in testValues_remove() 317 assertFalse(entrySet.retainAll( asList(null, entryOf(0, 0), entryOf(15, 15)))); in testEntrySet_empty_remove() 337 assertFalse(entrySet.retainAll(asList(null, entryOf(1, 1), entryOf(15, 15)))); in testEntrySet_remove()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | AbstractMultisetTest.java | 297 assertTrue(ms.retainAll(asList("a", "c"))); in testRetainAllOfOne() 304 assertTrue(ms.retainAll(asList("c", "d"))); in testRetainAllOfDisjoint() 311 assertFalse(ms.retainAll(asList("a", "b"))); in testRetainAllOfEverything() 361 assertFalse(ms.elementSet().retainAll(asList("a"))); in testRetainAllVacuousViaElementSet() 367 assertTrue(ms.elementSet().retainAll(Collections.emptySet())); in testRetainAllOfNothingViaElementSet() 374 assertTrue(ms.elementSet().retainAll(asList("a", "c"))); in testRetainAllOfOneViaElementSet() 381 assertTrue(ms.elementSet().retainAll(asList("c", "d"))); in testRetainAllOfDisjointViaElementSet() 388 assertFalse(ms.elementSet().retainAll(asList("a", "b"))); in testRetainAllOfEverythingViaElementSet()
|
D | MapsTransformValuesUnmodifiableIteratorTest.java | 68 @Override public boolean retainAll(Collection<?> c) { in keySet() method in MapsTransformValuesUnmodifiableIteratorTest.UnmodifiableIteratorMap 69 return delegate.keySet().retainAll(c); in keySet() 85 @Override public boolean retainAll(Collection<?> c) { in values() method 86 return delegate.values().retainAll(c); in values() 102 @Override public boolean retainAll(Collection<?> c) { 103 return delegate.entrySet().retainAll(c);
|
D | ForwardingMultisetTest.java | 87 @Override public boolean retainAll(Collection<?> collection) { in retainAll() method in ForwardingMultisetTest.StandardImplForwardingMultiset 221 @Override public boolean retainAll(Collection<?> collection) { in suite() 252 @Override public boolean retainAll(Collection<?> collection) { in suite() 329 forward().retainAll(EMPTY_COLLECTION); in testRetainAll_Collection()
|
D | SynchronizedSetTest.java | 123 @Override public boolean retainAll(Collection<?> c) { in retainAll() method in SynchronizedSetTest.TestSet 125 return super.retainAll(c); in retainAll()
|
D | ForwardingCollectionTest.java | 77 @Override public boolean retainAll(Collection<?> collection) { in retainAll() method in ForwardingCollectionTest.StandardImplForwardingCollection 191 forward.retainAll(EMPTY_COLLECTION); in testRetainAll_Collection()
|
D | ForwardingSetTest.java | 85 @Override public boolean retainAll(Collection<?> collection) { in retainAll() method in ForwardingSetTest.StandardImplForwardingSet 198 forward().retainAll(EMPTY_LIST); in testRetainAll_Collection()
|
D | ForwardingQueueTest.java | 77 @Override public boolean retainAll(Collection<?> collection) { in retainAll() method in ForwardingQueueTest.StandardImplForwardingQueue 216 forward.retainAll(Collections.singleton("asdf")); in testRetainAll_Collection()
|
D | AbstractCollectionTest.java | 109 assertFalse(c.retainAll(asList("a"))); in testRetainAllVacuous() 115 assertTrue(c.retainAll(Collections.emptySet())); in testRetainAllOfNothing()
|
D | ForwardingListTest.java | 81 @Override public boolean retainAll(Collection<?> collection) { in retainAll() method in ForwardingListTest.StandardImplForwardingList 268 forward.retainAll(EMPTY_LIST); in testRetainAll_Collection()
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_CollectionTest.java | 88 .retainAll(myCollection)); in runTest() 90 .retainAll(myCollection)); // should not change the colletion in runTest()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetWritesTester.java | 219 getMultiset().entrySet().retainAll( in testEntrySet_retainAll_present() 231 getMultiset().entrySet().retainAll( in testEntrySet_retainAll_missing() 241 getMultiset().entrySet().retainAll(null); in testEntrySet_retainAll_null()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | PerCollectionSizeTestSuiteBuilder.java | 75 sizesToTest.retainAll(features); in createTestSuite() 79 sizesToTest.retainAll(Arrays.asList( in createTestSuite()
|
D | MapInterfaceTest.java | 718 boolean didRemove = entrySet.retainAll(entriesToRetain); in testEntrySetRetainAll() 726 entrySet.retainAll(entriesToRetain); in testEntrySetRetainAll() 746 entrySet.retainAll(null); in testEntrySetRetainAllNullFromEmpty() 753 entrySet.retainAll(null); in testEntrySetRetainAllNullFromEmpty() 1329 keys.retainAll(Collections.singleton(key)); in testKeySetRetainAll() 1334 keys.retainAll(Collections.singleton(key)); in testKeySetRetainAll() 1406 keySet.retainAll(null); in testKeySetRetainAllNullFromEmpty() 1413 keySet.retainAll(null); in testKeySetRetainAllNullFromEmpty() 1604 valueCollection.retainAll(valuesToRetain); in testValuesRetainAll() 1613 valueCollection.retainAll(valuesToRetain); in testValuesRetainAll() [all …]
|
D | SafeTreeSet.java | 163 @Override public boolean retainAll(Collection<?> c) { in retainAll() method in SafeTreeSet 164 return delegate.retainAll(c); in retainAll()
|
/external/mockito/src/org/mockito/internal/util/collections/ |
D | HashCodeAndEqualsSafeSet.java | 127 public boolean retainAll(Collection<?> mocks) { in retainAll() method 128 return backingHashSet.retainAll(asWrappedMocks(mocks)); in retainAll()
|
/external/smack/src/org/apache/harmony/javax/security/auth/ |
D | Subject.java | 641 public boolean retainAll(Collection<?> c) { in retainAll() method 646 return super.retainAll(c); in retainAll() 688 public boolean retainAll(Collection<?> c) { in get() 693 return super.retainAll(c); in get()
|
/external/icu4c/test/intltest/ |
D | v32test.cpp | 277 a->retainAll(*b); in UVector32_API() 280 a->retainAll(*b); in UVector32_API() 285 a->retainAll(*b); in UVector32_API()
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
D | SafeArrayList.java | 217 public boolean retainAll(Collection<?> c) { in retainAll() method in SafeArrayList 218 boolean result = getBuffer().retainAll(c); in retainAll()
|