Home
last modified time | relevance | path

Searched refs:Collection (Results 1 – 25 of 193) sorted by relevance

12345678

/libcore/luni/src/main/java/java/util/
DCollection.java45 public interface Collection<E> extends Iterable<E> { interface
107 public boolean addAll(Collection<? extends E> collection); in addAll()
159 public boolean containsAll(Collection<?> collection); in containsAll()
245 public boolean removeAll(Collection<?> collection); in removeAll()
269 public boolean retainAll(Collection<?> collection); in retainAll()
DSet.java26 public interface Set<E> extends Collection<E> {
58 public boolean addAll(Collection<? extends E> collection); in addAll()
88 public boolean containsAll(Collection<?> collection); in containsAll()
152 public boolean removeAll(Collection<?> collection); in removeAll()
164 public boolean retainAll(Collection<?> collection); in retainAll()
DList.java27 public interface List<E> extends Collection<E> {
89 public boolean addAll(int location, Collection<? extends E> collection); in addAll()
108 public boolean addAll(Collection<? extends E> collection); in addAll()
139 public boolean containsAll(Collection<?> collection); in containsAll()
273 public boolean removeAll(Collection<?> collection); in removeAll()
285 public boolean retainAll(Collection<?> collection); in retainAll()
DAbstractCollection.java31 public abstract class AbstractCollection<E> implements Collection<E> {
72 public boolean addAll(Collection<? extends E> collection) { in addAll()
164 public boolean containsAll(Collection<?> collection) { in containsAll()
273 public boolean removeAll(Collection<?> collection) { in removeAll()
314 public boolean retainAll(Collection<?> collection) { in retainAll()
/libcore/luni/src/main/java/java/security/cert/
DCollectionCertStoreParameters.java20 import java.util.Collection;
33 private static final Collection<?> defaultCollection = Collections.EMPTY_SET;
36 private final Collection<?> collection;
60 public CollectionCertStoreParameters(Collection<?> collection) { in CollectionCertStoreParameters()
88 public Collection<?> getCollection() { in getCollection()
DCertStoreSpi.java21 import java.util.Collection;
54 public abstract Collection<? extends Certificate> engineGetCertificates(CertSelector selector) in engineGetCertificates()
69 public abstract Collection<? extends CRL> engineGetCRLs(CRLSelector selector) in engineGetCRLs()
DCertificateFactorySpi.java21 import java.util.Collection;
63 public abstract Collection<? extends Certificate>
89 public abstract Collection<? extends CRL>
DPKIXCertPathChecker.java20 import java.util.Collection;
109 public abstract void check(Certificate cert, Collection<String> unresolvedCritExts) in check()
DX509Certificate.java23 import java.util.Collection;
404 public Collection<List<?>> getSubjectAlternativeNames() in getSubjectAlternativeNames()
438 public Collection<List<?>> getIssuerAlternativeNames() in getIssuerAlternativeNames()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTestFramework.java15 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()
DDOMTestInnerClass.java15 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()
DDOMTestCase.java18 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/
DExecutorService.java9 import java.util.Collection;
244 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll()
274 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, in invokeAll()
296 <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny()
321 <T> T invokeAny(Collection<? extends Callable<T>> tasks, in invokeAny()
DCopyOnWriteArraySet.java80 public CopyOnWriteArraySet(Collection<? extends E> c) { in CopyOnWriteArraySet()
232 public boolean containsAll(Collection<?> c) { in containsAll()
249 public boolean addAll(Collection<? extends E> c) { in addAll()
268 public boolean removeAll(Collection<?> c) { in removeAll()
289 public boolean retainAll(Collection<?> c) { in retainAll()
DBlockingQueue.java9 import java.util.Collection;
321 int drainTo(Collection<? super E> c); in drainTo()
346 int drainTo(Collection<? super E> c, int maxElements); in drainTo()
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DASN1ValueCollection.java25 import java.util.Collection;
58 public Collection<?> getValues(Object object) { in getValues()
59 return (Collection<?>) object; in getValues()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DConcurrentModificationExceptionTest.java20 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/
DX509CRLSelectorTest.java20 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/
DMyCertStoreSpi.java33 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/
DSupport_CollectionTest.java20 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/luni/src/test/java/libcore/java/util/
DOldCollectionsTest.java23 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/luni/src/main/java/org/apache/harmony/security/x509/
DGeneralNames.java26 import java.util.Collection;
81 public Collection<List<?>> getPairsList() { in getPairsList()
82 Collection<List<?>> result = new ArrayList<List<?>>(); in getPairsList()
140 @Override public Collection getValues(Object object) {
/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactorySpiTest.java39 import java.util.Collection;
85 Collection<? extends Certificate> col = certFactorySpi.engineGenerateCertificates(bais); in testCertificateFactorySpi01()
101 Collection<? extends CRL> colCRL = certFactorySpi.engineGenerateCRLs(bais); in testCertificateFactorySpi01()
151 Collection<? extends Certificate> col = certFactorySpi in testCertificateFactorySpi02()
167 Collection<? extends CRL> colcrl = certFactorySpi.engineGenerateCRLs(dis); in testCertificateFactorySpi02()
221 Collection<? extends Certificate> col = certFactorySpi in testCertificateFactorySpi03()
237 Collection<? extends CRL> colcrl = certFactorySpi.engineGenerateCRLs(dis); in testCertificateFactorySpi03()
404 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates()
420 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs()
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dhc_elementretrieveallattributes.java67 java.util.Collection actual = new java.util.ArrayList(); in runTest()
69 java.util.Collection htmlExpected = new java.util.ArrayList(); in runTest()
72 java.util.Collection expected = new java.util.ArrayList(); in runTest()
Dhc_namednodemapreturnlastitem.java73 java.util.Collection htmlExpected = new java.util.ArrayList(); in runTest()
77 java.util.Collection expected = new java.util.ArrayList(); in runTest()
82 java.util.Collection actual = new java.util.ArrayList(); in runTest()

12345678