Home
last modified time | relevance | path

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

12

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
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.java405 assertTrue("Retain does not success", set.retainAll(c)); //$NON-NLS-1$ in test_entrySet()
407 assertFalse("Should return false", set.retainAll(c)); //$NON-NLS-1$ in test_entrySet()
661 assertTrue("Should return true", set.retainAll(c)); //$NON-NLS-1$ in test_keySet()
663 assertFalse("Should return false", set.retainAll(c)); //$NON-NLS-1$ in test_keySet()
677 assertTrue("Should return true", set.retainAll(c)); //$NON-NLS-1$ in test_keySet()
1050 assertTrue("Should return true", collection.retainAll(c)); //$NON-NLS-1$ in test_values()
1052 assertFalse("Should return false", collection.retainAll(c)); //$NON-NLS-1$ in test_values()
DIdentityHashMapTest.java303 boolean result = set.retainAll(set); in test_keySet_retainAll()
308 result = set.retainAll(new TreeSet()); in test_keySet_retainAll()
DAbstractCollectionTest.java208 assertTrue(ac.retainAll(Arrays.asList("1", "2"))); in test_retainAllLjava_util_Collection()
/external/guava/src/com/google/common/collect/
DForwardingCollection.java84 public boolean retainAll(Collection<?> collection) { in retainAll() method in ForwardingCollection
85 return delegate().retainAll(collection); in retainAll()
DAbstractBiMap.java185 @Override public boolean retainAll(Collection<?> keysToRetain) { in retainAll() method in AbstractBiMap.KeySet
186 return Iterators.retainAll(iterator(), keysToRetain); in retainAll()
351 @Override public boolean retainAll(Collection<?> c) {
352 return Iterators.retainAll(iterator(), c);
DConstrainedMap.java133 @Override public boolean retainAll(Collection<?> c) {
134 return Iterators.retainAll(iterator(), c);
DMultiset.java403 boolean retainAll(Collection<?> c); in retainAll() method
DIterables.java128 public static boolean retainAll(
131 ? ((Collection<?>) removeFrom).retainAll(checkNotNull(elementsToRetain))
132 : Iterators.retainAll(removeFrom.iterator(), elementsToRetain);
DAbstractMapBasedMultiset.java386 @Override public boolean retainAll(Collection<?> elementsToRetain) {
387 return Iterators.retainAll(iterator(), elementsToRetain);
DLinkedListMultimap.java573 @Override public boolean retainAll(Collection<?> c) { in get() method in LinkedListMultimap
574 return Iterators.retainAll(iterator(), c); in get()
662 @Override public boolean retainAll(Collection<?> c) {
663 return Iterators.retainAll(iterator(), c);
DSynchronized.java186 public boolean retainAll(Collection<?> c) { in retainAll() method in Synchronized.SynchronizedCollection
188 return delegate().retainAll(c); in retainAll()
1065 @Override public boolean retainAll(Collection<?> c) {
1067 return Iterators.retainAll(delegate().iterator(), c);
DImmutableCollection.java149 public final boolean retainAll(Collection<?> elementsToKeep) { in retainAll() method in ImmutableCollection
DAbstractMultiset.java186 @Override public boolean retainAll(Collection<?> elementsToRetain) { in retainAll() method in AbstractMultiset
DCollections2.java213 public boolean retainAll(final Collection<?> collection) { in retainAll() method in Collections2.FilteredCollection
DSets.java479 @Override public boolean retainAll(Collection<?> c) { in retainAll() method in Sets.SetFromMap
480 return s.retainAll(c); in retainAll()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_CollectionTest.java88 .retainAll(myCollection)); in runTest()
90 .retainAll(myCollection)); // should not change the colletion in runTest()
/external/icu4c/test/intltest/
Dv32test.cpp277 a->retainAll(*b); in UVector32_API()
280 a->retainAll(*b); in UVector32_API()
285 a->retainAll(*b); in UVector32_API()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPHeaderList.java624 public boolean retainAll(java.util.Collection<?> collection) { in retainAll() method in SIPHeaderList
625 return this.hlist.retainAll(collection); in retainAll()
/external/icu4c/common/unicode/
Duniset.h1096 UnicodeSet& retainAll(const UnicodeString& s);
1267 virtual UnicodeSet& retainAll(const UnicodeSet& c);
/external/icu4c/common/
Duvectr32.h118 UBool retainAll(const UVector32& other);
Duvector.h178 UBool retainAll(const UVector& other);
Duvectr32.cpp145 UBool UVector32::retainAll(const UVector32& other) { in retainAll() function in UVector32
Duniset.cpp1075 UnicodeSet& UnicodeSet::retainAll(const UnicodeString& s) { in retainAll() function in UnicodeSet
1078 retainAll(set); in retainAll()
1330 UnicodeSet& UnicodeSet::retainAll(const UnicodeSet& c) { in retainAll() function in UnicodeSet
1335 strings->retainAll(*c.strings); in retainAll()
/external/proguard/src/proguard/evaluation/value/
DReferenceValue.java296 thisSuperClasses.retainAll(otherSuperClasses); in generalize()

12