Home
last modified time | relevance | path

Searched refs:retainAll (Results 1 – 25 of 44) sorted by relevance

12

/libcore/support/src/test/java/tests/support/
DSupport_CollectionTest.java87 .retainAll(myCollection)); in runTest()
89 .retainAll(myCollection)); // should not change the colletion in runTest()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLinkedHashSetTest.java225 public boolean retainAll(Collection c) { in retainAll() method in LinkedHashSetTest.Mock_LinkedHashSet
236 lhs.retainAll(v); in test_retainAllLjava_util_Collection()
255 lhs.retainAll(v); in test_retainAllLjava_util_Collection()
259 lhs.retainAll(null); in test_retainAllLjava_util_Collection()
268 lhs.retainAll(v); in test_retainAllLjava_util_Collection()
DEnumSetTest.java1207 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 …]
DEnumMapTest.java408 assertTrue("Retain does not success", set.retainAll(c)); in test_entrySet()
410 assertFalse("Should return false", set.retainAll(c)); in test_entrySet()
663 assertTrue("Should return true", set.retainAll(c)); in test_keySet()
665 assertFalse("Should return false", set.retainAll(c)); in test_keySet()
679 assertTrue("Should return true", set.retainAll(c)); in test_keySet()
1051 assertTrue("Should return true", collection.retainAll(c)); in test_values()
1053 assertFalse("Should return false", collection.retainAll(c)); in test_values()
DAbstractCollectionTest.java211 assertTrue(ac.retainAll(Arrays.asList("1", "2"))); in test_retainAllLjava_util_Collection()
DAbstractMapTest.java405 assertTrue(view.retainAll(setOfNull)); // destructive
DIdentityHashMapTest.java730 boolean result = set.retainAll(set); in test_keySet_retainAll()
735 result = set.retainAll(new TreeSet()); in test_keySet_retainAll()
/libcore/luni/src/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java289 public boolean retainAll(Collection<?> c) { in retainAll() method in CopyOnWriteArraySet
290 return al.retainAll(c); in retainAll()
DCopyOnWriteArrayList.java362 public synchronized boolean retainAll(Collection<?> collection) { in retainAll() method in CopyOnWriteArrayList
642 @Override public boolean retainAll(Collection<?> collection) { in retainAll() method in CopyOnWriteArrayList.CowSubList
/libcore/luni/src/main/java/java/util/
DCollection.java269 public boolean retainAll(Collection<?> collection); in retainAll() method
DSet.java164 public boolean retainAll(Collection<?> collection); in retainAll() method
DList.java285 public boolean retainAll(Collection<?> collection); in retainAll() method
DMiniEnumSet.java189 public boolean retainAll(Collection<?> collection) { in retainAll() method in MiniEnumSet
211 return super.retainAll(collection); in retainAll()
DAbstractCollection.java314 public boolean retainAll(Collection<?> collection) { in retainAll() method in AbstractCollection
DHugeEnumSet.java294 public boolean retainAll(Collection<?> collection) { in retainAll() method in HugeEnumSet
319 return super.retainAll(collection); in retainAll()
DHashtable.java926 public boolean retainAll(Collection<?> collection) { in retainAll() method in Hashtable.KeySet
928 return super.retainAll(collection); in retainAll()
1025 public boolean retainAll(Collection<?> collection) { in retainAll() method in Hashtable.EntrySet
1027 return super.retainAll(collection); in retainAll()
DCollections.java432 @Override public boolean retainAll(Collection<?> collection) {
434 return c.retainAll(collection);
977 @Override public boolean retainAll(Collection<?> collection) {
2705 @Override public boolean retainAll(Collection<?> collection) {
2706 return backingSet.retainAll(collection);
2801 @Override public boolean retainAll(Collection<?> collection) {
2802 return q.retainAll(collection);
2892 @Override public boolean retainAll(Collection<?> c1) {
2893 return c.retainAll(c1);
3244 @Override public boolean retainAll(Collection<?> c) {
[all …]
DVector.java854 public synchronized boolean retainAll(Collection<?> collection) { in retainAll() method
855 return super.retainAll(collection); in retainAll()
/libcore/luni/src/main/java/javax/security/auth/
DSubject.java611 public boolean retainAll(Collection<?> c) { in retainAll() method
616 return super.retainAll(c); in retainAll()
656 public boolean retainAll(Collection<?> c) { in get()
661 return super.retainAll(c); in get()
/libcore/luni/src/main/java/java/nio/
DSelectorImpl.java388 public boolean retainAll(Collection<?> c) { in retainAll() method in SelectorImpl.UnaddableSet
389 return set.retainAll(c); in retainAll()
/libcore/jsr166-tests/src/test/java/jsr166/
DSynchronousQueueTest.java346 assertFalse(q.retainAll(Arrays.asList(empty)));
348 assertFalse(q.retainAll(Arrays.asList(ints)));
DPriorityQueueTest.java381 boolean changed = q.retainAll(p); in testRetainAll()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java284 supportsParameterTypes.retainAll(TYPES_SUPPORTS_PARAMETER); in test_Provider_getServices_supportsParameter()
288 noSupportsParameterTypes.retainAll(TYPES_NOT_SUPPORTS_PARAMETER); in test_Provider_getServices_supportsParameter()
/libcore/luni/src/test/java/libcore/java/util/
DOldCollectionsTest.java389 public boolean retainAll(Collection c) { in retainAll() method in OldCollectionsTest.Mock_Collection
445 public boolean retainAll(Collection c) { in retainAll() method in OldCollectionsTest.Mock_WrongCollection
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java150 def.retainAll(Arrays.asList("c", "e", "h")); // the RI fails here in testSubListRetainAll()

12