/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 | 231 public boolean retainAll(Collection c) { in retainAll() method in LinkedHashSetTest.Mock_LinkedHashSet 242 lhs.retainAll(v); in test_retainAllLjava_util_Collection() 261 lhs.retainAll(v); in test_retainAllLjava_util_Collection() 265 lhs.retainAll(null); in test_retainAllLjava_util_Collection() 274 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 | 417 assertTrue("Retain does not success", set.retainAll(c)); in test_entrySet() 419 assertFalse("Should return false", set.retainAll(c)); in test_entrySet() 672 assertTrue("Should return true", set.retainAll(c)); in test_keySet() 674 assertFalse("Should return false", set.retainAll(c)); in test_keySet() 688 assertTrue("Should return true", set.retainAll(c)); in test_keySet() 1060 assertTrue("Should return true", collection.retainAll(c)); in test_values() 1062 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
|
/libcore/ojluni/src/main/java/java/util/ |
D | Set.java | 320 boolean retainAll(Collection<?> c); in retainAll() method
|
D | RegularEnumSet.java | 262 public boolean retainAll(Collection<?> c) { in retainAll() method in RegularEnumSet 264 return super.retainAll(c); in retainAll()
|
D | Collection.java | 431 boolean retainAll(Collection<?> c); in retainAll() method
|
D | List.java | 377 boolean retainAll(Collection<?> c); in retainAll() method
|
D | JumboEnumSet.java | 314 public boolean retainAll(Collection<?> c) { in retainAll() method in JumboEnumSet 316 return super.retainAll(c); in retainAll()
|
D | AbstractCollection.java | 401 public boolean retainAll(Collection<?> c) { in retainAll() method in AbstractCollection
|
D | Vector.java | 932 public synchronized boolean retainAll(Collection<?> c) { in retainAll() method 933 return super.retainAll(c); in retainAll()
|
D | Collections.java | 1143 public boolean retainAll(Collection<?> coll) { in retainAll() method in Collections 1895 public boolean retainAll(Collection<?> coll) { 1896 synchronized (mutex) {return c.retainAll(coll);} 2636 public boolean retainAll(Collection<?> coll) { 2637 return c.retainAll(coll); 3288 public boolean retainAll(Collection<?> c) { 4669 public boolean retainAll(Collection<?> c) {return s.retainAll(c);} 4746 public boolean retainAll(Collection<?> c) {return q.retainAll(c);}
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArraySet.java | 345 public boolean retainAll(Collection<?> c) { in retainAll() method in CopyOnWriteArraySet 346 return al.retainAll(c); in retainAll()
|
D | CopyOnWriteArrayList.java | 366 public synchronized boolean retainAll(Collection<?> collection) { in retainAll() method in CopyOnWriteArrayList 689 @Override public boolean retainAll(Collection<?> collection) { in retainAll() method in CopyOnWriteArrayList.CowSubList
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | Util.java | 319 public boolean retainAll(Collection<?> coll) { in ungrowableSet() method in Util 320 return s.retainAll(coll); in ungrowableSet()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | SynchronousQueueTest.java | 375 assertFalse(q.retainAll(Arrays.asList(empty))); 377 assertFalse(q.retainAll(Arrays.asList(ints)));
|
D | PriorityQueueTest.java | 389 boolean changed = q.retainAll(p); in testRetainAll()
|
D | ConcurrentLinkedQueueTest.java | 355 boolean changed = q.retainAll(p); in testRetainAll()
|
D | TreeSubSetTest.java | 308 boolean changed = q.retainAll(p); in testRetainAll() 787 boolean changed = q.retainAll(p); in testDescendingRetainAll()
|
D | ConcurrentSkipListSubSetTest.java | 311 boolean changed = q.retainAll(p); in testRetainAll() 801 boolean changed = q.retainAll(p); in testDescendingRetainAll()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 289 supportsParameterTypes.retainAll(TYPES_SUPPORTS_PARAMETER); in test_Provider_getServices_supportsParameter() 293 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 | 151 def.retainAll(Arrays.asList("c", "e", "h")); // the RI fails here in testSubListRetainAll()
|