/libcore/ojluni/src/main/java/java/util/ |
H A D | Set.java | 309 * @throws UnsupportedOperationException if the <tt>retainAll</tt> operation 320 boolean retainAll(Collection<?> c); method in interface:Set
|
H A D | Collection.java | 430 * @throws UnsupportedOperationException if the <tt>retainAll</tt> operation 444 boolean retainAll(Collection<?> c); method in interface:Collection
|
H A D | RegularEnumSet.java | 263 public boolean retainAll(Collection<?> c) { method in class:RegularEnumSet 265 return super.retainAll(c);
|
H A D | List.java | 366 * @throws UnsupportedOperationException if the <tt>retainAll</tt> operation 378 boolean retainAll(Collection<?> c); method in interface:List
|
H A D | JumboEnumSet.java | 318 public boolean retainAll(Collection<?> c) { method in class:JumboEnumSet 320 return super.retainAll(c);
|
H A D | AbstractCollection.java | 404 public boolean retainAll(Collection<?> c) { method in class:AbstractCollection
|
H A D | Vector.java | 932 public synchronized boolean retainAll(Collection<?> c) { method in class:Vector 933 return super.retainAll(c);
|
H A D | Collections.java | 1112 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 D | Support_CollectionTest.java | 86 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 D | CopyOnWriteArraySet.java | 374 public boolean retainAll(Collection<?> c) { method in class:CopyOnWriteArraySet 375 return al.retainAll(c);
|
H A D | CopyOnWriteArrayList.java | 694 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 D | AbstractCollectionTest.java | 73 new EmptyCollection().retainAll(null); 80 * An AbstractCollection that does not override removeAll() / retainAll().
|
H A D | OldCollectionsTest.java | 389 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 D | ProviderOverlap.java | 39 overlap.retainAll(bc);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | LinkedHashSetTest.java | 231 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 D | EnumSetTest.java | 1202 * 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 D | EnumMapTest.java | 417 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 D | AbstractCollectionTest.java | 177 * java.util.AbstractCollection#retainAll(java.util.Collection) 211 assertTrue(ac.retainAll(Arrays.asList("1", "2")));
|
H A D | AbstractMapTest.java | 405 assertTrue(view.retainAll(setOfNull)); // destructive
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | Util.java | 252 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 D | SubjectTest.java | 290 subject.getPrincipals().retainAll(null);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | SynchronousQueueTest.java | 368 * retainAll returns false 375 assertFalse(q.retainAll(Arrays.asList(empty))); 377 assertFalse(q.retainAll(Arrays.asList(ints)));
|
H A D | ConcurrentLinkedQueueTest.java | 349 * retainAll(c) retains only those elements of c and reports true if change 355 boolean changed = q.retainAll(p);
|
H A D | PriorityQueueTest.java | 383 * 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 D | ProviderTest.java | 452 supportsParameterTypes.retainAll(TYPES_SUPPORTS_PARAMETER); 456 noSupportsParameterTypes.retainAll(TYPES_NOT_SUPPORTS_PARAMETER);
|