/libcore/support/src/test/java/tests/support/ |
D | Support_CollectionTest.java | 87 .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/ |
D | LinkedHashSetTest.java | 225 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()
|
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 …]
|
D | EnumMapTest.java | 408 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()
|
D | AbstractCollectionTest.java | 211 assertTrue(ac.retainAll(Arrays.asList("1", "2"))); in test_retainAllLjava_util_Collection()
|
D | AbstractMapTest.java | 405 assertTrue(view.retainAll(setOfNull)); // destructive
|
D | IdentityHashMapTest.java | 730 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/ |
D | CopyOnWriteArraySet.java | 289 public boolean retainAll(Collection<?> c) { in retainAll() method in CopyOnWriteArraySet 290 return al.retainAll(c); in retainAll()
|
D | CopyOnWriteArrayList.java | 362 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/ |
D | Collection.java | 269 public boolean retainAll(Collection<?> collection); in retainAll() method
|
D | Set.java | 164 public boolean retainAll(Collection<?> collection); in retainAll() method
|
D | List.java | 285 public boolean retainAll(Collection<?> collection); in retainAll() method
|
D | MiniEnumSet.java | 189 public boolean retainAll(Collection<?> collection) { in retainAll() method in MiniEnumSet 211 return super.retainAll(collection); in retainAll()
|
D | AbstractCollection.java | 314 public boolean retainAll(Collection<?> collection) { in retainAll() method in AbstractCollection
|
D | HugeEnumSet.java | 294 public boolean retainAll(Collection<?> collection) { in retainAll() method in HugeEnumSet 319 return super.retainAll(collection); in retainAll()
|
D | Hashtable.java | 926 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()
|
D | Collections.java | 432 @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 …]
|
D | Vector.java | 854 public synchronized boolean retainAll(Collection<?> collection) { in retainAll() method 855 return super.retainAll(collection); in retainAll()
|
/libcore/luni/src/main/java/javax/security/auth/ |
D | Subject.java | 611 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/ |
D | SelectorImpl.java | 388 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/ |
D | SynchronousQueueTest.java | 346 assertFalse(q.retainAll(Arrays.asList(empty))); 348 assertFalse(q.retainAll(Arrays.asList(ints)));
|
D | PriorityQueueTest.java | 381 boolean changed = q.retainAll(p); in testRetainAll()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 284 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/ |
D | OldCollectionsTest.java | 389 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/ |
D | CopyOnWriteArrayListTest.java | 150 def.retainAll(Arrays.asList("c", "e", "h")); // the RI fails here in testSubListRetainAll()
|