Home
last modified time | relevance | path

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

123

/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.java231 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()
DEnumSetTest.java1239 set.retainAll(null); in test_retainAll_LCollection()
1247 set.retainAll(null); in test_retainAll_LCollection()
1254 boolean result = set.retainAll(rawCollection); in test_retainAll_LCollection()
1258 result = set.retainAll(rawCollection); in test_retainAll_LCollection()
1262 result = set.retainAll(rawCollection); in test_retainAll_LCollection()
1267 result = set.retainAll(rawCollection); in test_retainAll_LCollection()
1271 result = set.retainAll(anotherSet); in test_retainAll_LCollection()
1277 result = set.retainAll(setWithInnerClass); in test_retainAll_LCollection()
1282 result = set.retainAll(setWithInnerClass); in test_retainAll_LCollection()
1286 result = set.retainAll(emptySet); in test_retainAll_LCollection()
[all …]
DEnumMapTest.java417 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()
DAbstractCollectionTest.java211 assertTrue(ac.retainAll(Arrays.asList("1", "2"))); in test_retainAllLjava_util_Collection()
/libcore/ojluni/src/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java374 public boolean retainAll(Collection<?> c) { in retainAll() method in CopyOnWriteArraySet
375 return al.retainAll(c); in retainAll()
/libcore/ojluni/src/main/java/java/util/
DRegularEnumSet.java263 public boolean retainAll(Collection<?> c) { in retainAll() method in RegularEnumSet
265 return super.retainAll(c); in retainAll()
DCollection.java444 boolean retainAll(Collection<?> c); in retainAll() method
DJumboEnumSet.java318 public boolean retainAll(Collection<?> c) { in retainAll() method in JumboEnumSet
320 return super.retainAll(c); in retainAll()
DAbstractCollection.java404 public boolean retainAll(Collection<?> c) { in retainAll() method in AbstractCollection
DSet.java347 boolean retainAll(Collection<?> c); in retainAll() method
DList.java402 boolean retainAll(Collection<?> c); in retainAll() method
DVector.java932 public synchronized boolean retainAll(Collection<?> c) { in retainAll() method
933 return super.retainAll(c); in retainAll()
/libcore/tools/crypto/src/java/libcore/java/security/
DProviderOverlap.java39 overlap.retainAll(bc); in main()
/libcore/luni/src/test/java/libcore/java/util/
DAbstractCollectionTest.java73 new EmptyCollection().retainAll(null); in test_empty_retainAll_null()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DCopyOnWriteArraySet.java100 public boolean retainAll(java.util.Collection<?> c) { in retainAll() method in CopyOnWriteArraySet
DCopyOnWriteArrayList.java171 public boolean retainAll(java.util.Collection<?> c) { in retainAll() method in CopyOnWriteArrayList
403 public boolean retainAll(java.util.Collection<?> c) { in retainAll() method in CopyOnWriteArrayList.COWSubList
/libcore/ojluni/src/main/java/sun/nio/ch/
DUtil.java336 public boolean retainAll(Collection<?> coll) { in ungrowableSet() method in Util
337 return s.retainAll(coll); in ungrowableSet()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollection.annotated.java59 public boolean retainAll(@libcore.util.NonNull java.util.Collection<?> c); in retainAll() method
DArrayList.annotated.java83 public boolean retainAll(@libcore.util.NonNull java.util.Collection<?> c) { throw new RuntimeExcept… in retainAll() method in ArrayList
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DConcurrentHashMapTest.java383 assertTrue(set.retainAll(Arrays.asList("A", "C"))); in testKeySetViewRetainAll()
386 assertFalse(set.retainAll(Arrays.asList("A", "C"))); in testKeySetViewRetainAll()
/libcore/luni/src/main/java/android/compat/
DCompatibility.java220 intersection.retainAll(disabled); in ChangeConfig()
/libcore/jsr166-tests/src/test/java/jsr166/
DSynchronousQueueTest.java375 assertFalse(q.retainAll(Arrays.asList(empty)));
377 assertFalse(q.retainAll(Arrays.asList(ints)));
/libcore/ojluni/annotations/hiddenapi/java/util/
DVector.java210 public synchronized boolean retainAll(java.util.Collection<?> c) { in retainAll() method in Vector
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/
DSubjectTest.java290 subject.getPrincipals().retainAll(null); in testSecureTest_retainAllNull_throwsException()

123