Home
last modified time | relevance | path

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

123

/libcore/jsr166-tests/src/test/java/jsr166/
DCopyOnWriteArraySetTest.java142 assertTrue(a.containsAll(b)); in testEquals()
143 assertTrue(b.containsAll(a)); in testEquals()
150 assertTrue(a.containsAll(b)); in testEquals()
151 assertFalse(b.containsAll(a)); in testEquals()
155 assertTrue(a.containsAll(b)); in testEquals()
156 assertTrue(b.containsAll(a)); in testEquals()
163 assertFalse(a.containsAll(b)); in testEquals()
164 assertTrue(b.containsAll(a)); in testEquals()
168 assertTrue(a.containsAll(b)); in testEquals()
169 assertTrue(b.containsAll(a)); in testEquals()
[all …]
DCopyOnWriteArrayListTest.java184 assertTrue(a.containsAll(b)); in testEquals()
185 assertTrue(b.containsAll(a)); in testEquals()
190 assertTrue(a.containsAll(b)); in testEquals()
191 assertFalse(b.containsAll(a)); in testEquals()
195 assertTrue(a.containsAll(b)); in testEquals()
196 assertTrue(b.containsAll(a)); in testEquals()
207 assertTrue(full.containsAll(Arrays.asList())); in testContainsAll()
208 assertTrue(full.containsAll(Arrays.asList(one))); in testContainsAll()
209 assertTrue(full.containsAll(Arrays.asList(one, two))); in testContainsAll()
210 assertFalse(full.containsAll(Arrays.asList(one, two, six))); in testContainsAll()
[all …]
DPriorityQueueTest.java375 assertTrue(q.containsAll(p)); in testContainsAll()
376 assertFalse(p.containsAll(q)); in testContainsAll()
379 assertTrue(p.containsAll(q)); in testContainsAll()
395 assertTrue(q.containsAll(p)); in testRetainAll()
DConcurrentLinkedQueueTest.java341 assertTrue(q.containsAll(p)); in testContainsAll()
342 assertFalse(p.containsAll(q)); in testContainsAll()
345 assertTrue(p.containsAll(q)); in testContainsAll()
361 assertTrue(q.containsAll(p)); in testRetainAll()
DConcurrentHashMap8Test.java383 assertTrue(full.containsAll(Arrays.asList())); in testContainsAll()
384 assertTrue(full.containsAll(Arrays.asList(one))); in testContainsAll()
385 assertTrue(full.containsAll(Arrays.asList(one, two))); in testContainsAll()
386 assertFalse(full.containsAll(Arrays.asList(one, two, six))); in testContainsAll()
387 assertFalse(full.containsAll(Arrays.asList(six))); in testContainsAll()
507 assertTrue(Arrays.asList(elements).containsAll(Arrays.asList(full.toArray()))); in testToArray()
508 assertTrue(full.containsAll(Arrays.asList(full.toArray()))); in testToArray()
538 assertTrue(Arrays.asList(elements).containsAll(Arrays.asList(full.toArray(a)))); in testToArray2()
546 assertTrue(Arrays.asList(elements).containsAll(Arrays.asList(full.toArray(a)))); in testToArray2()
DConcurrentSkipListSubSetTest.java297 assertTrue(q.containsAll(p)); in testContainsAll()
298 assertFalse(p.containsAll(q)); in testContainsAll()
301 assertTrue(p.containsAll(q)); in testContainsAll()
317 assertTrue(q.containsAll(p)); in testRetainAll()
787 assertTrue(q.containsAll(p)); in testDescendingContainsAll()
788 assertFalse(p.containsAll(q)); in testDescendingContainsAll()
791 assertTrue(p.containsAll(q)); in testDescendingContainsAll()
807 assertTrue(q.containsAll(p)); in testDescendingRetainAll()
DTreeSubSetTest.java294 assertTrue(q.containsAll(p)); in testContainsAll()
295 assertFalse(p.containsAll(q)); in testContainsAll()
298 assertTrue(p.containsAll(q)); in testContainsAll()
314 assertTrue(q.containsAll(p)); in testRetainAll()
773 assertTrue(q.containsAll(p)); in testDescendingContainsAll()
774 assertFalse(p.containsAll(q)); in testDescendingContainsAll()
777 assertTrue(p.containsAll(q)); in testDescendingContainsAll()
793 assertTrue(q.containsAll(p)); in testDescendingRetainAll()
/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()
/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/ojluni/src/main/java/java/util/
DSet.java273 boolean containsAll(Collection<?> c); in containsAll() method
DRegularEnumSet.java197 public boolean containsAll(Collection<?> c) { in containsAll() method in RegularEnumSet
199 return super.containsAll(c); in containsAll()
DAbstractSet.java95 return containsAll(c); in equals()
DCollection.java334 boolean containsAll(Collection<?> c); in containsAll() method
DJumboEnumSet.java249 public boolean containsAll(Collection<?> c) { in containsAll() method in JumboEnumSet
251 return super.containsAll(c); in containsAll()
DList.java284 boolean containsAll(Collection<?> c); in containsAll() method
/libcore/ojluni/src/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java276 public boolean containsAll(Collection<?> c) { in containsAll() method in CopyOnWriteArraySet
279 : al.containsAll(c); in containsAll()
DConcurrentSkipListSet.java312 return containsAll(c) && c.containsAll(this); in equals()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumSetTest.java783 set.containsAll(null); in test_containsAll_LCollection()
794 boolean result = set.containsAll(emptySet); in test_containsAll_LCollection()
798 result = set.containsAll(rawCollection); in test_containsAll_LCollection()
802 result = set.containsAll(rawCollection); in test_containsAll_LCollection()
806 result = set.containsAll(rawCollection); in test_containsAll_LCollection()
810 result = set.containsAll(rawSet); in test_containsAll_LCollection()
814 result = set.containsAll(emptySet); in test_containsAll_LCollection()
819 result = set.containsAll(collection); in test_containsAll_LCollection()
824 result = set.containsAll(fooSet); in test_containsAll_LCollection()
829 set.containsAll(null); in test_containsAll_LCollection()
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/util/
DAbstractCollection.annotated.java51 public boolean containsAll(@libcore.util.NonNull java.util.Collection<?> c) { throw new RuntimeExce… in containsAll() method in AbstractCollection
DSet.annotated.java50 public boolean containsAll(@libcore.util.NonNull java.util.Collection<?> c); in containsAll() method
DCollection.annotated.java51 public boolean containsAll(@libcore.util.NonNull java.util.Collection<?> c); in containsAll() method
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DCopyOnWriteArraySet.java84 public boolean containsAll(java.util.Collection<?> c) { in containsAll() method in CopyOnWriteArraySet
/libcore/ojluni/src/main/java/sun/nio/ch/
DUtil.java330 public boolean containsAll(Collection<?> coll) { in ungrowableSet() method in Util
331 return s.containsAll(coll); in ungrowableSet()

123