Searched refs:retainAll (Results 1 - 25 of 48) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/
H A DSet.java309 * @throws UnsupportedOperationException if the <tt>retainAll</tt> operation
320 boolean retainAll(Collection<?> c); method in interface:Set
H A DCollection.java430 * @throws UnsupportedOperationException if the <tt>retainAll</tt> operation
444 boolean retainAll(Collection<?> c); method in interface:Collection
H A DRegularEnumSet.java263 public boolean retainAll(Collection<?> c) { method in class:RegularEnumSet
265 return super.retainAll(c);
H A DList.java366 * @throws UnsupportedOperationException if the <tt>retainAll</tt> operation
378 boolean retainAll(Collection<?> c); method in interface:List
H A DJumboEnumSet.java318 public boolean retainAll(Collection<?> c) { method in class:JumboEnumSet
320 return super.retainAll(c);
H A DAbstractCollection.java404 public boolean retainAll(Collection<?> c) { method in class:AbstractCollection
H A DVector.java932 public synchronized boolean retainAll(Collection<?> c) { method in class:Vector
933 return super.retainAll(c);
H A DCollections.java1112 public boolean retainAll(Collection<?> coll) { method in class:Collections.UnmodifiableCollection
2094 public boolean retainAll(Collection<?> coll) { method in class:Collections.SynchronizedCollection
2095 synchronized (mutex) {return c.retainAll(coll);}
3110 public boolean retainAll(Collection<?> coll) { method in class:Collections.CheckedCollection
3111 return c.retainAll(coll);
3886 public boolean retainAll(Collection<?> c) { method in class:Collections.CheckedMap.CheckedEntrySet
5518 public boolean retainAll(Collection<?> c) {return s.retainAll(c);} method in class:Collections.SetFromMap
5595 public boolean retainAll(Collection<?> c) {return q.retainAll( method in class:Collections.AsLIFOQueue
[all...]
/libcore/support/src/test/java/tests/support/
H A DSupport_CollectionTest.java86 assertTrue("CollectionTest - a) retainAll failed", col
87 .retainAll(myCollection));
88 assertTrue("CollectionTest - b) retainAll failed", !col
89 .retainAll(myCollection)); // should not change the colletion
91 assertTrue("CollectionTest - c) retainAll failed", col
93 assertTrue("CollectionTest - d) retainAll failed", !col
95 assertTrue("CollectionTest - e) retainAll failed", !col
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DCopyOnWriteArraySet.java374 public boolean retainAll(Collection<?> c) { method in class:CopyOnWriteArraySet
375 return al.retainAll(c);
H A DCopyOnWriteArrayList.java694 public boolean retainAll(Collection<?> c) { method in class:CopyOnWriteArrayList
1397 public boolean retainAll(Collection<?> c) { method in class:CopyOnWriteArrayList.COWSubList
/libcore/luni/src/test/java/libcore/java/util/
H A DAbstractCollectionTest.java73 new EmptyCollection().retainAll(null);
80 * An AbstractCollection that does not override removeAll() / retainAll().
H A DOldCollectionsTest.java389 public boolean retainAll(Collection c) { method in class:OldCollectionsTest.Mock_Collection
445 public boolean retainAll(Collection c) { method in class:OldCollectionsTest.Mock_WrongCollection
/libcore/tools/crypto/src/java/libcore/java/security/
H A DProviderOverlap.java39 overlap.retainAll(bc);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DLinkedHashSetTest.java231 public boolean retainAll(Collection c) { method in class:LinkedHashSetTest.Mock_LinkedHashSet
242 lhs.retainAll(v);
261 lhs.retainAll(v);
265 lhs.retainAll(null);
274 lhs.retainAll(v);
H A DEnumSetTest.java1202 * java.util.EnumSet#retainAll(Collection)
1209 set.retainAll(null);
1217 set.retainAll(null);
1224 boolean result = set.retainAll(rawCollection);
1228 result = set.retainAll(rawCollection);
1232 result = set.retainAll(rawCollection);
1237 result = set.retainAll(rawCollection);
1241 result = set.retainAll(anotherSet);
1247 result = set.retainAll(setWithInnerClass);
1252 result = set.retainAll(setWithInnerClas
[all...]
H A DEnumMapTest.java417 assertTrue("Retain does not success", set.retainAll(c));
419 assertFalse("Should return false", set.retainAll(c));
672 assertTrue("Should return true", set.retainAll(c));
674 assertFalse("Should return false", set.retainAll(c));
688 assertTrue("Should return true", set.retainAll(c));
1060 assertTrue("Should return true", collection.retainAll(c));
1062 assertFalse("Should return false", collection.retainAll(c));
H A DAbstractCollectionTest.java177 * java.util.AbstractCollection#retainAll(java.util.Collection)
211 assertTrue(ac.retainAll(Arrays.asList("1", "2")));
H A DAbstractMapTest.java405 assertTrue(view.retainAll(setOfNull)); // destructive
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DUtil.java252 public boolean retainAll(Collection<?> coll) {
253 return s.retainAll(coll);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/
H A DSubjectTest.java290 subject.getPrincipals().retainAll(null);
/libcore/jsr166-tests/src/test/java/jsr166/
H A DSynchronousQueueTest.java368 * retainAll returns false
375 assertFalse(q.retainAll(Arrays.asList(empty)));
377 assertFalse(q.retainAll(Arrays.asList(ints)));
H A DConcurrentLinkedQueueTest.java349 * retainAll(c) retains only those elements of c and reports true if change
355 boolean changed = q.retainAll(p);
H A DPriorityQueueTest.java383 * retainAll(c) retains only those elements of c and reports true if changed
389 boolean changed = q.retainAll(p);
/libcore/luni/src/test/java/libcore/java/security/
H A DProviderTest.java452 supportsParameterTypes.retainAll(TYPES_SUPPORTS_PARAMETER);
456 noSupportsParameterTypes.retainAll(TYPES_NOT_SUPPORTS_PARAMETER);

Completed in 430 milliseconds

12