HomeSort by relevance Sort by last modified time
    Searched refs:Collection (Results 26 - 50 of 889) sorted by null

12 3 4 5 6 7 8 91011>>

  /libcore/luni/src/main/java/java/util/
Queue.java 14 * A collection designed for holding elements prior to processing.
15 * Besides basic {@link java.util.Collection Collection} operations,
63 * java.util.Collection#add Collection.add} method, which can fail to
102 * @see java.util.Collection
112 * @param <E> the type of elements held in this collection
114 public interface Queue<E> extends Collection<E> {
122 * @return <tt>true</tt> (as specified by {@link Collection#add})
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/src/com/google/common/collect/
ForwardingCollection.java 23 import java.util.Collection;
29 * A collection which forwards all its method calls to another collection.
31 * backing collection as desired per the <a
50 implements Collection<E> {
56 @Override protected abstract Collection<E> delegate();
69 public boolean removeAll(Collection<?> collection) {
70 return delegate().removeAll(collection);
94 public boolean containsAll(Collection<?> collection)
    [all...]
AbstractMultimap.java 28 import java.util.Collection;
46 * a multimap as a map that associates each key with a collection of values. All
51 * #createCollection()}, which creates an empty collection of values for a key.
56 * to create the collection of values for that key. The subclass should not call
65 * <p>Keys and values may be null, as long as the underlying collection classes
69 * allow duplicates. If the collection, such as a {@link Set}, does not support
72 * List} that allow duplicates, the collection will keep the existing key-value
92 * The map variable contains the collection of values associated with each
94 * contain any values for that key, a new collection generated by
95 * createCollection is added to the map. That same collection instanc
193 Collection<V> collection = map.get(key); local
201 Collection<V> collection = getOrCreateCollection(key); local
212 Collection<V> collection = map.get(key); local
222 Collection<V> collection = map.get(key); local
244 Collection<V> collection = getOrCreateCollection(key); local
283 Collection<V> collection = getOrCreateCollection(key); local
306 Collection<V> collection = map.remove(key); local
350 Collection<V> collection = map.get(key); local
910 Collection<V> collection = entry.getValue(); local
922 Collection<V> collection = subMap.remove(key); local
    [all...]
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...]
  /external/apache-http/src/org/apache/http/cookie/params/
CookieSpecParamBean.java 34 import java.util.Collection;
45 public void setDatePatterns (final Collection <String> patterns) {
  /external/bouncycastle/src/main/java/org/bouncycastle/x509/
PKIXAttrCertChecker.java 5 import java.util.Collection;
34 * collection.
41 * @param unresolvedCritExts a <code>Collection</code> of OID strings
47 CertPath holderCertPath, Collection unresolvedCritExts)
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
OneSizeTestContainerGenerator.java 21 import java.util.Collection;
24 * The subject-generator interface accepted by Collection testers, for testing
25 * a Collection at one particular {@link CollectionSize}.
39 Collection<E> getSampleElements(int howMany);
TestStringCollectionGenerator.java 21 import java.util.Collection;
39 public Collection<String> create(Object... elements) {
48 protected abstract Collection<String> create(String[] elements);
  /libcore/luni/src/main/java/java/security/cert/
PKIXCertPathChecker.java 20 import java.util.Collection;
33 * {@link #check(Certificate, Collection) check} method will be called for each
109 public abstract void check(Certificate cert, Collection<String> unresolvedCritExts)
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SuggestionCursor.java 22 import java.util.Collection;
84 Collection<String> getExtraColumns();
  /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...]
  /packages/apps/Email/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...]
  /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;
33 * commonly useful forms of bulk execution, executing a collection of
233 * collection is modified while this operation is in progress.
235 * @param tasks the collection of tasks
246 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
259 * collection is modified while this operation is in progress.
261 * @param tasks the collection of tasks
276 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks,
286 * collection is modified while this operation is in progress.
288 * @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> getTestUris();
69 public void addExcludedTests(String uri, 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;
48 public Collection engineGetCertificates(CertSelector selector)
56 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)

Completed in 2805 milliseconds

12 3 4 5 6 7 8 91011>>