/libcore/luni/src/main/java/java/util/ |
List.java | 22 * A {@code List} is a collection which maintains an ordering for its elements. Every 27 public interface List<E> extends Collection<E> { 69 * Inserts the objects in the specified collection at the specified location 71 * the collection's iterator. 75 * @param collection 76 * the collection of objects to be inserted. 78 * otherwise (i.e. if the passed collection was empty). 89 public boolean addAll(int location, Collection<? extends E> collection); 92 * Adds the objects in the specified collection to the end of this {@code List}. Th [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingCollectionTest.java | 30 import java.util.Collection; 43 private final Collection<T> backingCollection; 45 StandardImplForwardingCollection(Collection<T> backingCollection) { 49 @Override protected Collection<T> delegate() { 53 @Override public boolean addAll(Collection<? extends T> collection) { 54 return standardAddAll(collection); 65 @Override public boolean containsAll(Collection<?> collection) { 66 return standardContainsAll(collection); [all...] |
ConstrainedMultimapAsMapImplementsMapTest.java | 22 import java.util.Collection; 39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 46 @Override protected Map<String, Collection<Integer>> makePopulatedMap() {
|
MultimapsTransformValuesAsMapTest.java | 22 import java.util.Collection; 38 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 44 @Override protected Map<String, Collection<Integer>> makePopulatedMap() {
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
SignerInformationStore.java | 4 import java.util.Collection; 16 Collection signerInfos) 48 Collection list = getSigners(selector); 54 * Return the number of signers in the collection. 64 * Return all signers in the collection 66 * @return a collection of signers. 68 public Collection getSigners() 74 * Return possible empty collection with signers matching the passed in SignerId 77 * @return a collection of SignerInformation objects. 79 public Collection getSigners [all...] |
/external/lldb/include/lldb/Core/ |
RangeMap.h | 166 // that the collection contains. 176 typedef llvm::SmallVector<Entry, N> Collection; 215 typename Collection::const_iterator pos, end, prev; 217 // don't end up allocating and making a new collection for no reason 236 typename Collection::iterator pos; 237 typename Collection::iterator end; 238 typename Collection::iterator prev; 241 // don't end up allocating and making a new collection for no reason 251 // We we can combine at least one entry, then we make a new collection 255 Collection minimal_ranges [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Multimaps.java | 42 import java.util.Collection; 72 * {@link Collection} classes. 107 public static <K, V> Multimap<K, V> newMultimap(Map<K, Collection<V>> map, 108 final Supplier<? extends Collection<V>> factory) { 113 transient Supplier<? extends Collection<V>> factory; 115 CustomMultimap(Map<K, Collection<V>> map, 116 Supplier<? extends Collection<V>> factory) { 121 @Override protected Collection<V> createCollection() { 141 factory = (Supplier<? extends Collection<V>>) stream.readObject(); 142 Map<K, Collection<V>> map = (Map<K, Collection<V>>) stream.readObject() [all...] |
Collections2.java | 31 import java.util.Collection; 37 * Provides static methods for working with {@code Collection} instances. 50 * returned collection is a live view of {@code unfiltered}; changes to one 53 * <p>The resulting collection's iterator does not support {@code remove()}, 54 * but all other collection methods are supported. When given an element that 55 * doesn't satisfy the predicate, the collection's {@code add()} and {@code 58 * collection, only elements that satisfy the filter will be removed from the 59 * underlying collection. 61 * <p>The returned collection isn't threadsafe or serializable, even if 64 * <p>Many of the filtered collection's methods, such as {@code size()} [all...] |
Multiset.java | 21 import java.util.Collection; 30 * A collection that supports order-independent equality, like {@link Set}, but 43 * {@code Collection}. It also defines an additional query operation, {@link 48 * but implementations which support the standard collection operations {@link 50 * related methods as well. Finally, two collection views are provided: {@link 60 * given initial elements. This is simply a refinement of {@code Collection}'s 63 * <p>As with other collection types, the modification operations are optional, 85 public interface Multiset<E> extends Collection<E> { 322 // Refined Collection Methods 336 * <p>This method refines {@link Collection#contains} to further specify tha [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
DirectoryWalker.java | 22 import java.util.Collection; 65 * protected boolean handleDirectory(File directory, int depth, Collection results) { 76 * protected void handleFile(File file, int depth, Collection results) { 206 * private void handleIsCancelled(File file, int depth, Collection results) { 210 * protected void handleCancelled(File startDirectory, Collection results, CancelException cancel) { 226 * protected boolean handleDirectory(File directory, int depth, Collection results) throws IOException { 234 * protected void handleFile(File file, int depth, Collection results) throws IOException { 242 * protected void handleCancelled(File startDirectory, Collection results, CancelException cancel) { 325 * @param results the collection of result objects, may be updated 329 protected final void walk(File startDirectory, Collection results) throws IOException [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
Preconditions.java | 19 import java.util.Collection; 128 * Ensures that the {@link Collection} is not {@code null}, and none of its elements are 131 * @param value a {@link Collection} of boxed objects 134 * @return the validated {@link Collection} 138 public static <T> Collection<T> checkCollectionElementsNotNull(final Collection<T> value, 157 * Ensures that the {@link Collection} is not {@code null}, and contains at least one element. 159 * @param value a {@link Collection} of boxed elements. 162 * @return the validated {@link Collection} 167 public static <T> Collection<T> checkCollectionNotEmpty(final Collection<T> value [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
RecursionOverflowMessage.java | 34 import java.util.Collection; 44 public Collection targetRules; 45 public Collection callSiteStates; 50 Collection targetRules, 51 Collection callSiteStates)
|
/external/guava/guava-bootstrap/src/java/util/concurrent/ |
ExecutorService.java | 13 import java.util.Collection; 34 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) 38 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) 41 <T> T invokeAny(Collection<? extends Callable<T>> tasks) 45 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/ |
CollectionFeature.java | 24 import java.util.Collection; 30 * Optional features of classes derived from {@code Collection}. 38 public enum CollectionFeature implements Feature<Collection> { 40 * The collection must not throw {@code NullPointerException} on calls 49 * Indicates that a collection disallows certain elements (other than 52 * From the documentation for {@link Collection}: 53 * <blockquote>"Some collection implementations have restrictions on the 61 * Indicates that a collection has a well-defined ordering of its elements. 69 * Indicates that a collection has a different {@link Object#toString} 70 * representation than most collections. If not specified, the collection [all...] |
CollectionSize.java | 24 import java.util.Collection; 29 * When describing the features of the collection produced by a given generator 35 * from those of other Collection-related features such as {@link 39 * behaves normally (i.e. it requires the collection instance under test to be 41 * require more than one CollectionSize, since a particular collection instance 50 public enum CollectionSize implements Feature<Collection>, 52 /** Test an empty collection. */ 54 /** Test a one-element collection. */ 56 /** Test a three-element collection. */ 60 * sample element is not in any collection [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ExecutorService.java | 9 import java.util.Collection; 35 * commonly useful forms of bulk execution, executing a collection of 232 * collection is modified while this operation is in progress. 234 * @param tasks the collection of tasks 244 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) 257 * collection is modified while this operation is in progress. 259 * @param tasks the collection of tasks 274 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, 284 * collection is modified while this operation is in progress. 286 * @param tasks the collection of task [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Multimaps.java | 38 import java.util.Collection; 68 * {@link Collection} classes. 103 public static <K, V> Multimap<K, V> newMultimap(Map<K, Collection<V>> map, 104 final Supplier<? extends Collection<V>> factory) { 109 transient Supplier<? extends Collection<V>> factory; 111 CustomMultimap(Map<K, Collection<V>> map, 112 Supplier<? extends Collection<V>> factory) { 117 @Override protected Collection<V> createCollection() { 164 Map<K, Collection<V>> map, final Supplier<? extends List<V>> factory) { 172 CustomListMultimap(Map<K, Collection<V>> map [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
ITestPlan.java | 25 import java.util.Collection; 42 public Collection<String> getTestIds(); 69 public void addExcludedTests(String id, Collection<TestIdentifier> excludedTests);
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
MyCertStoreSpi.java | 30 import java.util.Collection; 47 public Collection engineGetCertificates(CertSelector selector) 55 public Collection engineGetCRLs(CRLSelector selector)
|
/external/apache-http/src/org/apache/http/client/protocol/ |
RequestDefaultHeaders.java | 35 import java.util.Collection; 65 Collection<?> defHeaders = (Collection<?>) request.getParams().getParameter(
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
ListeningExecutorService.java | 19 import java.util.Collection; 69 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) 86 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
TestStringCollectionGenerator.java | 21 import java.util.Collection; 39 public Collection<String> create(Object... elements) { 48 protected abstract Collection<String> create(String[] elements);
|
/external/javassist/src/main/javassist/bytecode/analysis/ |
Subroutine.java | 18 import java.util.Collection; 55 public Collection accessed() { 59 public Collection callers() {
|
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
PublishItem.java | 17 import java.util.Collection;
26 protected Collection<T> items;
47 public PublishItem(String nodeId, Collection<T> toPublish)
|
/libcore/luni/src/main/java/java/security/cert/ |
CertificateFactorySpi.java | 21 import java.util.Collection; 54 * Generates and initializes a collection of certificates from the provided 59 * @return a collection of certificates. 63 public abstract Collection<? extends Certificate> 80 * Generates and initializes a collection of <i>Certificate Revocation 85 * @return a collection of CRLs. 89 public abstract Collection<? extends CRL>
|