HomeSort by relevance Sort by last modified time
    Searched full:collection (Results 426 - 450 of 2355) sorted by null

<<11121314151617181920>>

  /libcore/luni/src/main/java/java/util/concurrent/
package-info.java 135 * Besides Queues, this package supplies Collection implementations
142 * When many threads are expected to access a given collection, a
156 * concurrent collection is thread-safe, but not governed by a
161 * to prevent all access to a collection via a single lock, at
163 * multiple threads are expected to access a common collection,
169 * <p>Most concurrent Collection implementations (including most
173 * but does not necessarily freeze the collection while iterating, so
222 * collection <i>happen-before</i> actions subsequent to the access or
223 * removal of that element from the collection in another thread.
ConcurrentLinkedDeque.java 11 import java.util.Collection;
26 * many threads will share access to a common collection.
27 * Like most other concurrent collection implementations, this class
57 * @param <E> the type of elements held in this collection
87 * atomically logically deleted from the collection.
127 * the element from the collection, and makes the containing node
160 * other concurrent collection classes. The idea is to replace
800 * the given collection, added in traversal order of the
801 * collection's iterator.
803 * @param c the collection of elements to initially contai
    [all...]
ArrayBlockingQueue.java 39 * <em>optional</em> methods of the {@link Collection} and {@link
44 * @param <E> the type of elements held in this collection
206 * elements of the given collection,
207 * added in traversal order of the collection's iterator.
213 * @param c the collection of elements to initially contain
216 * @throws NullPointerException if the specified collection or any
220 Collection<? extends E> c) {
249 * @return {@code true} (as specified by {@link Collection#add})
484 * <p>This method acts as bridge between array-based and collection-based
517 * array-based and collection-based APIs. Further, this method allow
    [all...]
LinkedBlockingQueue.java 13 import java.util.Collection;
41 * <em>optional</em> methods of the {@link Collection} and {@link
46 * @param <E> the type of elements held in this collection
238 * given collection,
239 * added in traversal order of the collection's iterator.
241 * @param c the collection of elements to initially contain
242 * @throws NullPointerException if the specified collection or any
245 public LinkedBlockingQueue(Collection<? extends E> c) {
564 * <p>This method acts as bridge between array-based and collection-based
596 * array-based and collection-based APIs. Further, this method allow
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
HashMapTest.java 150 Collection values = map.values();
157 Collection values2 = map2.values();
459 // Test for method java.util.Collection java.util.HashMap.values()
460 Collection c = hm.values();
461 assertTrue("Returned collection of incorrect size()", c.size() == hm
464 assertTrue("Returned collection does not contain all keys", c
470 Collection values = myHashMap.values();
472 "Test Returned Collection From HashMap.values()", values)
476 "Removing from the values collection should remove from the original map",
IdentityHashMapTest.java 24 import java.util.Collection;
144 Collection values = map.values();
151 Collection values2 = map2.values();
418 // Test for method java.util.Collection
420 Collection c = hm.values();
421 assertTrue("Returned collection of incorrect size()", c.size() == hm
424 assertTrue("Returned collection does not contain all keys", c
430 Collection values = myIdentityHashMap.values();
433 "Removing from the values collection should remove from the original map",
LinkedHashMapTest.java 23 import java.util.Collection;
303 // Test for method java.util.Collection java.util.LinkedHashMap.values()
304 Collection c = hm.values();
305 assertTrue("Returned collection of incorrect size()", c.size() == hm
308 assertTrue("Returned collection does not contain all keys", c
314 Collection values = myLinkedHashMap.values();
316 "Test Returned Collection From LinkedHashMap.values()", values)
320 "Removing from the values collection should remove from the original map",
375 Collection values = map.values();
382 Collection values2 = map2.values()
    [all...]
LinkedListTest.java 22 import java.util.Collection;
52 * java.util.LinkedList#LinkedList(java.util.Collection)
55 // Test for method java.util.LinkedList(java.util.Collection)
95 * java.util.LinkedList#addAll(int, java.util.Collection)
99 // java.util.Collection)
100 ll.addAll(50, (Collection) ll.clone());
127 ll.addAll(-1, (Collection) null);
134 ll.addAll(ll.size() + 1, (Collection) null);
149 * java.util.LinkedList#addAll(int, java.util.Collection)
155 obj.addAll(-1, (Collection) null)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
LinkedHashMapTest.java 24 import java.util.Collection;
282 // Test for method java.util.Collection java.util.LinkedHashMap.values()
283 Collection c = hm.values();
284 assertTrue("Returned collection of incorrect size()", c.size() == hm
287 assertTrue("Returned collection does not contain all keys", c
293 Collection values = myLinkedHashMap.values();
295 "Test Returned Collection From LinkedHashMap.values()", values)
299 "Removing from the values collection should remove from the original map",
354 Collection values = map.values();
361 Collection values2 = map2.values()
    [all...]
  /external/apache-http/src/org/apache/http/impl/client/
ClientParamsStack.java 70 * an empty params collection, since it avoids searching the empty collection
82 /** The application parameter collection, or <code>null</code>. */
85 /** The client parameter collection, or <code>null</code>. */
88 /** The request parameter collection, or <code>null</code>. */
91 /** The override parameter collection, or <code>null</code>. */
  /external/clang/include/clang/AST/
StmtObjC.h 21 /// ObjCForCollectionStmt - This represents Objective-c's collection statement;
22 /// represented as 'for (element 'in' collection-expression)' stmt.
25 enum { ELEM, COLLECTION, BODY, END_EXPR };
37 return reinterpret_cast<Expr*>(SubExprs[COLLECTION]);
43 return reinterpret_cast<Expr*>(SubExprs[COLLECTION]);
49 SubExprs[COLLECTION] = reinterpret_cast<Stmt*>(E);
  /external/guava/javadoc/com/google/common/collect/
ListMultimap.html 135 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../../com/google/common/collect/ListMultimap.html" title="type parameter in ListMultimap">K</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../com/google/common/collect/ListMultimap.html" title="type parameter in ListMultimap">V</A>&gt;&gt;</CODE></FONT></TD>
156 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a collection view of all values associated with a key.</TD>
173 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores a collection of values with the same key, replacing any existing
205 <DD>Returns a collection view of all values associated with a key. If no
206 mappings in the multimap have the provided key, an empty collection is
209 <p>Changes to the returned collection will update the underlying multimap,
214 <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A> specified in the <A HREF="../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect"><CODE>Multimap</CODE></A> interface.
221 <DT><B>Returns:</B><DD>the collection of values that the key maps to</DL
    [all...]
SortedSetMultimap.html 140 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../../com/google/common/collect/SortedSetMultimap.html" title="type parameter in SortedSetMultimap">K</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../com/google/common/collect/SortedSetMultimap.html" title="type parameter in SortedSetMultimap">V</A>&gt;&gt;</CODE></FONT></TD>
153 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a collection view of all values associated with a key.</TD>
170 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores a collection of values with the same key, replacing any existing
220 <DD>Returns a collection view of all values associated with a key. If no
221 mappings in the multimap have the provided key, an empty collection is
224 <p>Changes to the returned collection will update the underlying multimap,
229 <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A> specified in the <A HREF="../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect"><CODE>Multimap</CODE></A> interface.
236 <DT><B>Returns:</B><DD>the collection of values that the key maps to</DL
    [all...]
ForwardingMultimap.html 151 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="../../../../com/google/common/collect/ForwardingMultimap.html" title="type parameter in ForwardingMultimap">K</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../com/google/common/collect/ForwardingMultimap.html" title="type parameter in ForwardingMultimap">V</A>&gt;&gt;</CODE></FONT></TD>
203 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A>&lt;<A HREF="../../../../com/google/common/collect/ForwardingMultimap.html" title="type parameter in ForwardingMultimap">K</A>,<A HREF="../../../../com/google/common/collect/ForwardingMultimap.html" title="type parameter in ForwardingMultimap">V</A>&gt;&gt;</CODE></FONT></TD>
207 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a collection of all key-value pairs.</TD>
219 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../com/google/common/collect/ForwardingMultimap.html" title="type parameter in ForwardingMultimap">V</A>&gt;</CODE></FONT></TD>
223 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a collection view of all values associated with a key.</TD>
247 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a collection, which may contain duplicates, of all keys.</TD>
273 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores a collection of values with the same key.</TD
    [all...]
  /external/guava/src/com/google/common/collect/
AbstractBiMap.java 28 import java.util.Collection;
181 @Override public boolean removeAll(Collection<?> keysToRemove) {
185 @Override public boolean retainAll(Collection<?> keysToRetain) {
345 @Override public boolean containsAll(Collection<?> c) {
348 @Override public boolean removeAll(Collection<?> c) {
351 @Override public boolean retainAll(Collection<?> c) {
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
Extensions.java 28 import java.util.Collection;
248 * @return Returns the collection of pairs:
252 public Collection<List<?>> valueOfSubjectAlternativeName() throws IOException {
271 * @return Returns the collection of pairs:
275 public Collection<List<?>> valueOfIssuerAlternativeName() throws IOException {
351 @Override public Collection getValues(Object object) {
  /external/guava/src/com/google/common/primitives/
Chars.java 25 import java.util.Collection;
396 * Copies a collection of {@code Character} instances into a new array of
399 * <p>Elements are copied from the argument collection as if by {@code
400 * collection.toArray()}. Calling this method is as thread-safe as calling
403 * @param collection a collection of {@code Character} objects
404 * @return an array containing the same values as {@code collection}, in the
406 * @throws NullPointerException if {@code collection} or any of its elements
409 public static char[] toArray(Collection<Character> collection) {
    [all...]
Doubles.java 24 import java.util.Collection;
329 * Copies a collection of {@code Double} instances into a new array of
332 * <p>Elements are copied from the argument collection as if by {@code
333 * collection.toArray()}. Calling this method is as thread-safe as calling
336 * @param collection a collection of {@code Double} objects
337 * @return an array containing the same values as {@code collection}, in the
339 * @throws NullPointerException if {@code collection} or any of its elements
342 public static double[] toArray(Collection<Double> collection) {
    [all...]
Floats.java 24 import java.util.Collection;
326 * Copies a collection of {@code Float} instances into a new array of
329 * <p>Elements are copied from the argument collection as if by {@code
330 * collection.toArray()}. Calling this method is as thread-safe as calling
333 * @param collection a collection of {@code Float} objects
334 * @return an array containing the same values as {@code collection}, in the
336 * @throws NullPointerException if {@code collection} or any of its elements
339 public static float[] toArray(Collection<Float> collection) {
    [all...]
Ints.java 25 import java.util.Collection;
403 * Copies a collection of {@code Integer} instances into a new array of
406 * <p>Elements are copied from the argument collection as if by {@code
407 * collection.toArray()}. Calling this method is as thread-safe as calling
410 * @param collection a collection of {@code Integer} objects
411 * @return an array containing the same values as {@code collection}, in the
413 * @throws NullPointerException if {@code collection} or any of its elements
416 public static int[] toArray(Collection<Integer> collection) {
    [all...]
Longs.java 25 import java.util.Collection;
381 * Copies a collection of {@code Long} instances into a new array of
384 * <p>Elements are copied from the argument collection as if by {@code
385 * collection.toArray()}. Calling this method is as thread-safe as calling
388 * @param collection a collection of {@code Long} objects
389 * @return an array containing the same values as {@code collection}, in the
391 * @throws NullPointerException if {@code collection} or any of its elements
394 public static long[] toArray(Collection<Long> collection) {
    [all...]
Shorts.java 25 import java.util.Collection;
395 * Copies a collection of {@code Short} instances into a new array of
398 * <p>Elements are copied from the argument collection as if by {@code
399 * collection.toArray()}. Calling this method is as thread-safe as calling
402 * @param collection a collection of {@code Short} objects
403 * @return an array containing the same values as {@code collection}, in the
405 * @throws NullPointerException if {@code collection} or any of its elements
408 public static short[] toArray(Collection<Short> collection) {
    [all...]
generate.sh 53 import java.util.Collection;
417 * Copies a collection of {@code WrapperCl} instances into a new array of
420 * <p>Elements are copied from the argument collection as if by {@code
421 * collection.toArray()}. Calling this method is as thread-safe as calling
424 * @param collection a collection of {@code WrapperCl} objects
425 * @return an array containing the same values as {@code collection}, in the
427 * @throws NullPointerException if {@code collection} or any of its elements
430 public static primtyp[] toArray(Collection<WrapperCl> collection) {
    [all...]
  /cts/libs/vogar-expect/src/vogar/util/
Strings.java 29 import java.util.Collection;
98 public static String[] objectsToStrings(Collection<?> objects) {
  /cts/tools/host/src/com/android/cts/
TestPlan.java 22 import java.util.Collection;
62 public static Collection<String> getEntries(String planPath,

Completed in 1222 milliseconds

<<11121314151617181920>>