Home
last modified time | relevance | path

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

12345

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
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 …]
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()
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()
/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/ojluni/src/test/java/util/SequencedCollection/
DSimpleSortedSet.java100 public boolean retainAll(Collection<?> c) { in retainAll() method in SimpleSortedSet
101 return set.retainAll(c); in retainAll()
DSimpleList.java97 public boolean retainAll(Collection<?> c) { in retainAll() method in SimpleList
98 return list.retainAll(c); in retainAll()
DSimpleDeque.java97 public boolean retainAll(Collection<?> c) { in retainAll() method in SimpleDeque
98 return deque.retainAll(c); in retainAll()
/libcore/ojluni/src/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java373 public boolean retainAll(Collection<?> c) { in retainAll() method in CopyOnWriteArraySet
374 return al.retainAll(c); in retainAll()
/libcore/ojluni/src/main/java/java/util/
DRegularEnumSet.java261 public boolean retainAll(Collection<?> c) { in retainAll() method in RegularEnumSet
263 return super.retainAll(c); in retainAll()
DCollection.java606 boolean retainAll(Collection<?> c); in retainAll() method
DJumboEnumSet.java316 public boolean retainAll(Collection<?> c) { in retainAll() method in JumboEnumSet
318 return super.retainAll(c); in retainAll()
DReverseOrderSortedSetView.java157 public boolean retainAll(Collection<?> c) { in retainAll() method in ReverseOrderSortedSetView
158 return base.retainAll(c); in retainAll()
/libcore/luni/src/test/androidsdk34/src/libcore/android34/java/util/
DListTest.java102 public boolean retainAll(Collection<?> c) { in retainAll() method in ListTest.MyList
103 return l.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/
DSequencedCollectionTest.java88 public boolean retainAll(Collection<?> c) { in retainAll() method in SequencedCollectionTest.EmptySequencedCollection
DAbstractCollectionTest.java73 new EmptyCollection().retainAll(null); in test_empty_retainAll_null()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DAbstractCollection.annotated.java57 public boolean retainAll(@libcore.util.NonNull java.util.Collection<?> c) { throw new RuntimeExcept… in retainAll() method in AbstractCollection
DCollection.annotated.java61 public boolean retainAll(@libcore.util.NonNull java.util.Collection<?> c); in retainAll() method
/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/src/test/java/util/Collections/
DDelegatingIteratorForEachRemaining.java94 @Override public boolean retainAll( Collection<?> c) { return delegate.retainAll(c); } in retainAll() method in DelegatingIteratorForEachRemaining.ForwardingSet
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java107 assertTrue(list.retainAll(Arrays.asList("b", "d"))); in testRetainAll()
109 assertFalse(list.retainAll(Arrays.asList("b", "d"))); in testRetainAll()
160 def.retainAll(Arrays.asList("c", "e", "h")); // the RI fails here in testSubListRetainAll()
/libcore/ojluni/annotations/flagged_api/java/util/
DArrayList.annotated.java103 public boolean retainAll(java.util.Collection<?> c) { throw new RuntimeException("Stub!"); } in retainAll() method in ArrayList
/libcore/ojluni/src/test/java/util/LinkedHashSet/
DBasic.java56 intersection.retainAll(s2); in main()

12345