/libcore/luni/src/test/java/libcore/java/util/ |
D | RemoveIfTester.java | 19 import java.util.Collection; 35 public static void runBasicRemoveIfTests(Supplier<Collection<Integer>> supp) { in runBasicRemoveIfTests() 36 Collection<Integer> integers = supp.get(); in runBasicRemoveIfTests() 56 public static void runBasicRemoveIfTestsUnordered(Supplier<Collection<Integer>> supp) { in runBasicRemoveIfTestsUnordered() 57 Collection<Integer> integers = supp.get(); in runBasicRemoveIfTestsUnordered() 75 public static void runRemoveIfOnEmpty(Supplier<Collection<Integer>> supp) { in runRemoveIfOnEmpty() 82 public static void testRemoveIfNPE(Supplier<Collection<Integer>> supp) { in testRemoveIfNPE() 89 public static void testRemoveIfCME(Supplier<Collection<Integer>> supp) { in testRemoveIfCME() 90 Collection<Integer> c = supp.get(); in testRemoveIfCME()
|
D | ForEachRemainingTester.java | 21 import java.util.Collection; 38 test_forEachRemaining((Collection<T>) collectionClazz.newInstance(), initialData); in runTests() 39 test_forEachRemaining_NPE((Collection<T>) collectionClazz.newInstance(), initialData); in runTests() 40 test_forEachRemaining_CME((Collection<T>) collectionClazz.newInstance(), initialData); in runTests() 66 public static <T> void test_forEachRemaining(Collection<T> collection, T[] initialData) in test_forEachRemaining() 88 public static <T> void test_forEachRemaining_NPE(Collection<T> collection, T[] initialData) in test_forEachRemaining_NPE() 97 public static <T> void test_forEachRemaining_CME(Collection<T> collection, T[] initialData) in test_forEachRemaining_CME() 107 public static <T> void test_forEachRemaining_NPE_list(Collection<T> collection, T[] initialData) in test_forEachRemaining_NPE_list() 116 public static <T> void test_forEachRemaining_CME_list(Collection<T> collection, T[] initialData) in test_forEachRemaining_CME_list()
|
D | OldCollectionsTest.java | 23 import java.util.Collection; 353 class Mock_Collection implements Collection { 358 public boolean addAll(Collection c) { in addAll() 369 public boolean containsAll(Collection c) { in containsAll() 385 public boolean removeAll(Collection c) { in removeAll() 389 public boolean retainAll(Collection c) { in retainAll() 406 class Mock_WrongCollection implements Collection { 414 public boolean addAll(Collection c) { in addAll() 425 public boolean containsAll(Collection c) { in containsAll() 441 public boolean removeAll(Collection c) { in removeAll() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Set.java | 85 public interface Set<E> extends Collection<E> { 273 boolean containsAll(Collection<?> c); in containsAll() 297 boolean addAll(Collection<? extends E> c); in addAll() 320 boolean retainAll(Collection<?> c); in retainAll() 343 boolean removeAll(Collection<?> c); in removeAll()
|
D | List.java | 111 public interface List<E> extends Collection<E> { 283 boolean containsAll(Collection<?> c); in containsAll() 306 boolean addAll(Collection<? extends E> c); in addAll() 335 boolean addAll(int index, Collection<? extends E> c); in addAll() 355 boolean removeAll(Collection<?> c); in removeAll() 377 boolean retainAll(Collection<?> c); in retainAll()
|
D | Collection.java | 131 public interface Collection<E> extends Iterable<E> { interface 320 boolean containsAll(Collection<?> c); in containsAll() 346 boolean addAll(Collection<? extends E> c); in addAll() 371 boolean removeAll(Collection<?> c); in removeAll() 431 boolean retainAll(Collection<?> c); in retainAll()
|
D | AbstractSet.java | 91 Collection c = (Collection) o; in equals() 168 public boolean removeAll(Collection<?> c) { in removeAll()
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMTestFramework.java | 15 import java.util.Collection; 72 Collection collection); in assertSize() 83 Collection expected, in assertEqualsIgnoreCase() 84 Collection actual); in assertEqualsIgnoreCase() 119 Collection expected, in assertEquals() 120 Collection actual); in assertEquals() 156 boolean equalsIgnoreCase(Collection expected, Collection actual); in equalsIgnoreCase() 168 boolean equals(Collection expected, Collection actual); in equals() 172 int size(Collection collection); in size()
|
D | DOMTestInnerClass.java | 15 import java.util.Collection; 71 Collection collection) { in assertSize() 80 public void assertEqualsIgnoreCase(String assertID, Collection expected, in assertEqualsIgnoreCase() 81 Collection actual) { in assertEqualsIgnoreCase() 106 public void assertEquals(String assertID, Collection expected, in assertEquals() 111 public void assertEquals(String assertID, Collection expected, in assertEquals() 112 Collection actual) { in assertEquals() 149 public boolean equalsIgnoreCase(Collection expected, Collection actual) { in equalsIgnoreCase() 169 public boolean equals(Collection expected, Collection actual) { in equals() 177 public int size(Collection collection) { in size()
|
D | DOMTestCase.java | 18 import java.util.Collection; 278 Collection collection) { in assertSize() 312 Collection expected, in assertEqualsIgnoreCase() 313 Collection actual) { in assertEqualsIgnoreCase() 377 private List toUpperCase(Collection expected) { in toUpperCase() 400 Collection expected, in assertEqualAutoCase() 401 Collection actual) { in assertEqualAutoCase() 520 Collection expected, in assertEquals() 522 Collection actualList = new ArrayList(); in assertEquals() 543 Collection expected, in assertEquals() [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ExecutorService.java | 9 import java.util.Collection; 248 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll() 279 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, in invokeAll() 302 <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() 328 <T> T invokeAny(Collection<? extends Callable<T>> tasks, in invokeAny()
|
D | CopyOnWriteArraySet.java | 10 import java.util.Collection; 90 public CopyOnWriteArraySet(Collection<? extends E> c) { in CopyOnWriteArraySet() 247 public boolean containsAll(Collection<?> c) { in containsAll() 301 public boolean addAll(Collection<? extends E> c) { in addAll() 322 public boolean removeAll(Collection<?> c) { in removeAll() 345 public boolean retainAll(Collection<?> c) { in retainAll()
|
D | BlockingQueue.java | 9 import java.util.Collection; 322 int drainTo(Collection<? super E> c); in drainTo() 347 int drainTo(Collection<? super E> c, int maxElements); in drainTo()
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | SliceSpliteratorTest.java | 30 import java.util.Collection; 44 Collection<T> source; 46 UnorderedContentAsserter(Collection<T> source) { in UnorderedContentAsserter() 51 … public void assertContents(Collection<T> actual, Collection<T> expected, boolean isOrdered) { in assertContents() 74 … final Collection<Integer> source = IntStream.range(0, size).boxed().collect(toList()); in sliceSpliteratorDataProvider() 87 … final Collection<Integer> source = IntStream.range(0, size).boxed().collect(toList()); in sliceSpliteratorDataProvider() 100 … final Collection<Long> source = LongStream.range(0, size).boxed().collect(toList()); in sliceSpliteratorDataProvider() 113 …final Collection<Double> source = LongStream.range(0, size).asDoubleStream().boxed().collect(toLi… in sliceSpliteratorDataProvider() 129 … final Collection<Integer> source = IntStream.range(0, size).boxed().collect(toList()); in sliceSpliteratorDataProvider() 143 … final Collection<Integer> source = IntStream.range(0, size).boxed().collect(toList()); in sliceSpliteratorDataProvider() [all …]
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CollectionCertStoreParameters.java | 29 import java.util.Collection; 58 private Collection<?> coll; 86 public CollectionCertStoreParameters(Collection<?> collection) { in CollectionCertStoreParameters() 110 public Collection<?> getCollection() { in getCollection()
|
D | CertStoreSpi.java | 29 import java.util.Collection; 95 public abstract Collection<? extends Certificate> engineGetCertificates in engineGetCertificates() 123 public abstract Collection<? extends CRL> engineGetCRLs in engineGetCRLs()
|
D | CertificateFactorySpi.java | 29 import java.util.Collection; 244 public abstract Collection<? extends Certificate> 313 public abstract Collection<? extends CRL> engineGenerateCRLs in engineGenerateCRLs()
|
/libcore/ojluni/src/main/java/sun/security/validator/ |
D | Validator.java | 175 Collection<X509Certificate> trustedCerts) { in getInstance() 214 Collection<X509Certificate> otherCerts) throws CertificateException { in validate() 234 Collection<X509Certificate> otherCerts, Object parameter) in validate() 257 Collection<X509Certificate> otherCerts, in validate() 271 Collection<X509Certificate> otherCerts, in engineValidate() 279 public abstract Collection<X509Certificate> getTrustedCertificates(); in getTrustedCertificates()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ConcurrentModificationExceptionTest.java | 20 import java.util.Collection; 29 Collection col; 33 public CollectionModifier(Collection c) { in CollectionModifier() 55 Collection myCollection = new LinkedList(); in test_Constructor()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CRLSelectorTest.java | 20 import java.util.Collection; 33 Collection<X500Principal> issuers = crlSelector.getIssuers(); in testGetIssuersImmutable() 44 Collection<Object> issuers = crlSelector.getIssuerNames(); in testGetIssuersNamesCopy()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | MyCertStoreSpi.java | 33 import java.util.Collection; 51 public Collection<Certificate> engineGetCertificates(CertSelector selector) in engineGetCertificates() 59 public Collection<CRL> engineGetCRLs(CRLSelector selector) in engineGetCRLs()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_CollectionTest.java | 20 import java.util.Collection; 27 Collection<Integer> col; // must contain the Integers 0 to 99 33 public Support_CollectionTest(String p1, Collection<Integer> c) { in Support_CollectionTest() 43 Collection<Integer> myCollection = new TreeSet<Integer>(); in runTest()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CollectionImplementation.java | 10 import java.util.Collection; 17 public Collection emptyCollection(); in emptyCollection()
|
D | CopyOnWriteArraySetTest.java | 13 import java.util.Collection; 119 Collection full = populatedSet(3); in testClear() 129 Collection full = populatedSet(3); in testContains() 188 Collection full = populatedSet(3); in testContainsAll() 222 Collection empty = new CopyOnWriteArraySet(); in testIterator() 233 Collection<Integer> full = populatedSet(elements); in testIterator() 254 Collection full = populatedSet(3); in testIteratorRemove() 268 Collection full = populatedSet(3); in testToString() 291 Collection full = populatedSet(3); in testRemove() 301 Collection empty = new CopyOnWriteArraySet(); in testSize() [all …]
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | CollectionCertStore.java | 31 import java.util.Collection; 81 private Collection<?> coll; 117 public Collection<Certificate> engineGetCertificates in engineGetCertificates() 158 public Collection<CRL> engineGetCRLs(CRLSelector selector) in engineGetCRLs()
|