Home
last modified time | relevance | path

Searched refs:containsAll (Results 1 – 25 of 58) sorted by relevance

123

/libcore/support/src/test/java/tests/support/
DSupport_CollectionTest.java64 .containsAll(myCollection)); in runTest()
68 .containsAll(myCollection)); in runTest()
71 .containsAll(myCollection)); in runTest()
92 .containsAll(myCollection)); in runTest()
DSupport_UnmodifiableCollectionTest.java61 col.containsAll(hs)); in runTest()
65 !col.containsAll(hs)); in runTest()
DSupport_MapTest.java118 assertTrue("Should contain set of \"0\", \"25\", and \"99\"", keySet.containsAll(hs)); in testKeySetContents()
121 !keySet.containsAll(hs)); in testKeySetContents()
DSupport_Format.java72 return vector1.size() == vector2.size() && vector1.containsAll(vector2); in compare()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DNamespaceSupportTest.java165 expected.containsAll(prefixes) && prefixes.containsAll(expected)); in testGetPrefixesLjava_lang_String()
188 expected.containsAll(prefixes) && prefixes.containsAll(expected)); in testGetPrefixes()
199 expected.containsAll(prefixes) && prefixes.containsAll(expected)); in testGetDeclaredPrefixes()
/libcore/luni/src/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java232 public boolean containsAll(Collection<?> c) { in containsAll() method in CopyOnWriteArraySet
233 return al.containsAll(c); in containsAll()
DConcurrentSkipListSet.java271 return containsAll(c) && c.containsAll(this); in equals()
DCopyOnWriteArrayList.java124 public boolean containsAll(Collection<?> collection) { in containsAll() method in CopyOnWriteArrayList
126 return containsAll(collection, snapshot, 0, snapshot.length); in containsAll()
129 static boolean containsAll(Collection<?> collection, Object[] snapshot, int from, int to) { in containsAll() method in CopyOnWriteArrayList
545 @Override public boolean containsAll(Collection<?> collection) { in containsAll() method in CopyOnWriteArrayList.CowSubList
549 return CopyOnWriteArrayList.containsAll(collection, snapshot, slice.from, slice.to); in containsAll()
/libcore/luni/src/main/java/java/util/
DCollection.java159 public boolean containsAll(Collection<?> collection); in containsAll() method
DSet.java88 public boolean containsAll(Collection<?> collection); in containsAll() method
DAbstractSet.java56 return size() == s.size() && containsAll(s); in equals()
DList.java139 public boolean containsAll(Collection<?> collection); in containsAll() method
DMiniEnumSet.java152 public boolean containsAll(Collection<?> collection) { in containsAll() method in MiniEnumSet
161 return !(collection instanceof EnumSet) && super.containsAll(collection); in containsAll()
DHashtable.java931 public boolean containsAll(Collection<?> collection) { in containsAll() method in Hashtable.KeySet
933 return super.containsAll(collection); in containsAll()
976 public boolean containsAll(Collection<?> collection) { in containsAll() method in Hashtable.Values
978 return super.containsAll(collection); in containsAll()
1030 public boolean containsAll(Collection<?> collection) { in containsAll() method in Hashtable.EntrySet
1032 return super.containsAll(collection); in containsAll()
DAbstractCollection.java164 public boolean containsAll(Collection<?> collection) { in containsAll() method in AbstractCollection
DHugeEnumSet.java210 public boolean containsAll(Collection<?> collection) { in containsAll() method in HugeEnumSet
226 return !(collection instanceof EnumSet) && super.containsAll(collection); in containsAll()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumSetTest.java751 set.containsAll(null); in test_containsAll_LCollection()
762 boolean result = set.containsAll(emptySet); in test_containsAll_LCollection()
766 result = set.containsAll(rawCollection); in test_containsAll_LCollection()
770 result = set.containsAll(rawCollection); in test_containsAll_LCollection()
774 result = set.containsAll(rawCollection); in test_containsAll_LCollection()
778 result = set.containsAll(rawSet); in test_containsAll_LCollection()
782 result = set.containsAll(emptySet); in test_containsAll_LCollection()
787 result = set.containsAll(collection); in test_containsAll_LCollection()
792 result = set.containsAll(fooSet); in test_containsAll_LCollection()
797 set.containsAll(null); in test_containsAll_LCollection()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DPriorityQueueTest.java367 assertTrue(q.containsAll(p)); in testContainsAll()
368 assertFalse(p.containsAll(q)); in testContainsAll()
371 assertTrue(p.containsAll(q)); in testContainsAll()
387 assertTrue(q.containsAll(p)); in testRetainAll()
DConcurrentLinkedQueueTest.java331 assertTrue(q.containsAll(p)); in testContainsAll()
332 assertFalse(p.containsAll(q)); in testContainsAll()
335 assertTrue(p.containsAll(q)); in testContainsAll()
351 assertTrue(q.containsAll(p)); in testRetainAll()
DConcurrentSkipListSubSetTest.java292 assertTrue(q.containsAll(p)); in testContainsAll()
293 assertFalse(p.containsAll(q)); in testContainsAll()
296 assertTrue(p.containsAll(q)); in testContainsAll()
312 assertTrue(q.containsAll(p)); in testRetainAll()
791 assertTrue(q.containsAll(p)); in testDescendingContainsAll()
792 assertFalse(p.containsAll(q)); in testDescendingContainsAll()
795 assertTrue(p.containsAll(q)); in testDescendingContainsAll()
811 assertTrue(q.containsAll(p)); in testDescendingRetainAll()
DTreeSubSetTest.java284 assertTrue(q.containsAll(p)); in testContainsAll()
285 assertFalse(p.containsAll(q)); in testContainsAll()
288 assertTrue(p.containsAll(q)); in testContainsAll()
304 assertTrue(q.containsAll(p)); in testRetainAll()
772 assertTrue(q.containsAll(p)); in testDescendingContainsAll()
773 assertFalse(p.containsAll(q)); in testDescendingContainsAll()
776 assertTrue(p.containsAll(q)); in testDescendingContainsAll()
792 assertTrue(q.containsAll(p)); in testDescendingRetainAll()
DLinkedListTest.java282 assertTrue(q.containsAll(p)); in testContainsAll()
283 assertFalse(p.containsAll(q)); in testContainsAll()
286 assertTrue(p.containsAll(q)); in testContainsAll()
302 assertTrue(q.containsAll(p)); in testRetainAll()
DPriorityBlockingQueueTest.java475 assertTrue(q.containsAll(p)); in testContainsAll()
476 assertFalse(p.containsAll(q)); in testContainsAll()
479 assertTrue(p.containsAll(q)); in testContainsAll()
495 assertTrue(q.containsAll(p)); in testRetainAll()
DConcurrentSkipListSubMapTest.java190 assertTrue(s.containsAll(Arrays.asList(ar)));
193 assertFalse(s.containsAll(Arrays.asList(ar)));
204 assertTrue(s.containsAll(Arrays.asList(ar)));
206 assertFalse(s.containsAll(Arrays.asList(ar)));
864 assertTrue(s.containsAll(Arrays.asList(ar)));
867 assertFalse(s.containsAll(Arrays.asList(ar)));
878 assertTrue(s.containsAll(Arrays.asList(ar)));
880 assertFalse(s.containsAll(Arrays.asList(ar)));
/libcore/luni/src/main/java/java/nio/
DSelectorImpl.java368 public boolean containsAll(Collection<?> c) { in containsAll() method in SelectorImpl.UnaddableSet
369 return set.containsAll(c); in containsAll()

123