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

/libcore/luni/src/main/java/java/util/
H A DCollection.java269 public boolean retainAll(Collection<?> collection); method in interface:Collection
H A DSet.java164 public boolean retainAll(Collection<?> collection); method in interface:Set
H A DList.java285 public boolean retainAll(Collection<?> collection); method in interface:List
H A DAbstractCollection.java314 public boolean retainAll(Collection<?> collection) { method in class:AbstractCollection
H A DMiniEnumSet.java189 public boolean retainAll(Collection<?> collection) { method in class:MiniEnumSet
211 return super.retainAll(collection);
H A DHugeEnumSet.java294 public boolean retainAll(Collection<?> collection) { method in class:HugeEnumSet
319 return super.retainAll(collection);
H A DVector.java854 public synchronized boolean retainAll(Collection<?> collection) { method in class:Vector
855 return super.retainAll(collection);
H A DCollections.java432 @Override public boolean retainAll(Collection<?> collection) { method in class:Collections.SynchronizedCollection
434 return c.retainAll(collection);
977 @Override public boolean retainAll(Collection<?> collection) { method in class:Collections.UnmodifiableCollection
2705 @Override public boolean retainAll(Collection<?> collection) { method in class:Collections.SetFromMap
2706 return backingSet.retainAll(collection);
2801 @Override public boolean retainAll(Collection<?> collection) { method in class:Collections.AsLIFOQueue
2802 return q.retainAll(collection);
2892 @Override public boolean retainAll(Collection<?> c1) { method in class:Collections.CheckedCollection
2893 return c.retainAll(c1);
3244 @Override public boolean retainAll(Collectio method in class:Collections.CheckedMap.CheckedEntrySet
[all...]
H A DHashtable.java926 public boolean retainAll(Collection<?> collection) { method in class:Hashtable.KeySet
928 return super.retainAll(collection);
1025 public boolean retainAll(Collection<?> collection) { method in class:Hashtable.EntrySet
1027 return super.retainAll(collection);
/libcore/luni/src/main/java/java/util/concurrent/
H A DCopyOnWriteArraySet.java289 public boolean retainAll(Collection<?> c) { method in class:CopyOnWriteArraySet
290 return al.retainAll(c);
H A DCopyOnWriteArrayList.java362 public synchronized boolean retainAll(Collection<?> collection) { method in class:CopyOnWriteArrayList
642 @Override public boolean retainAll(Collection<?> collection) { method in class:CopyOnWriteArrayList.CowSubList
H A DSynchronousQueue.java1015 public boolean retainAll(Collection<?> c) { method in class:SynchronousQueue
/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/luni/src/test/java/tests/api/java/util/
H A DLinkedHashSetTest.java225 public boolean retainAll(Collection c) { method in class:LinkedHashSetTest.Mock_LinkedHashSet
236 lhs.retainAll(v);
255 lhs.retainAll(v);
259 lhs.retainAll(null);
268 lhs.retainAll(v);
H A DEnumSetTest.java1200 * java.util.EnumSet#retainAll(Collection)
1207 set.retainAll(null);
1214 boolean result = set.retainAll(null);
1218 result = set.retainAll(rawCollection);
1222 result = set.retainAll(rawCollection);
1226 result = set.retainAll(rawCollection);
1231 result = set.retainAll(rawCollection);
1235 result = set.retainAll(anotherSet);
1241 result = set.retainAll(setWithInnerClass);
1246 result = set.retainAll(setWithInnerClas
[all...]
H A DEnumMapTest.java408 assertTrue("Retain does not success", set.retainAll(c));
410 assertFalse("Should return false", set.retainAll(c));
663 assertTrue("Should return true", set.retainAll(c));
665 assertFalse("Should return false", set.retainAll(c));
679 assertTrue("Should return true", set.retainAll(c));
1051 assertTrue("Should return true", collection.retainAll(c));
1053 assertFalse("Should return false", collection.retainAll(c));
H A DAbstractMapTest.java317 assertTrue(view.retainAll(setOfNull)); // destructive
H A DVectorTest.java917 * java.util.Vector#retainAll(java.util.Collection)
921 // java.util.Vector.retainAll(java.util.Collection)
927 tVector.retainAll(s);
938 tVector.retainAll(null);
/libcore/luni/src/main/java/javax/security/auth/
H A DSubject.java611 public boolean retainAll(Collection<?> c) { method in class:Subject.SecureSet
616 return super.retainAll(c);
656 public boolean retainAll(Collection<?> c) {
661 return super.retainAll(c);
/libcore/luni/src/main/java/java/nio/
H A DSelectorImpl.java382 public boolean retainAll(Collection<?> c) { method in class:SelectorImpl.UnaddableSet
383 return set.retainAll(c);
/libcore/luni/src/test/java/libcore/java/util/
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/luni/src/test/java/libcore/java/util/concurrent/
H A DCopyOnWriteArrayListTest.java150 def.retainAll(Arrays.asList("c", "e", "h")); // the RI fails here
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSocketTest.java142 cs.retainAll(scs);

Completed in 293 milliseconds