/frameworks/opt/vcard/java/com/android/vcard/ |
VCardProperty.java | 22 import java.util.Collection; 65 private Map<String, Collection<String>> mParameterMap = 66 new HashMap<String, Collection<String>>(); 93 Collection<String> values; 150 public Map<String, Collection<String>> getParameterMap() { 154 public Collection<String> getParameters(String type) {
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
DerOutputStream.java | 89 private void encodeValueCollection(ASN1ValueCollection collection) { 97 collection.type.encodeASN(this); 199 private void getValueOfLength(ASN1ValueCollection collection) { 201 Object[] cv = collection.getValues(content).toArray(); 212 collection.type.setEncodingContent(this); 220 seqLen += collection.type.getEncodedLength(this);
|
/external/chromium_org/webkit/browser/appcache/ |
appcache_service.cc | 190 virtual void OnAllInfo(AppCacheInfoCollection* collection) OVERRIDE; 207 AppCacheInfoCollection* collection) { 208 if (!collection) { 216 collection->infos_by_origin.find(origin_); 217 if (found == collection->infos_by_origin.end() || found->second.empty()) { 269 AppCacheService* service, AppCacheInfoCollection* collection, 271 : AsyncHelper(service, callback), collection_(collection) { 280 virtual void OnAllInfo(AppCacheInfoCollection* collection) OVERRIDE; 288 AppCacheInfoCollection* collection) { 289 if (collection) [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheTesting.java | 39 import java.util.Collection; 51 * A collection of utilities for {@link Cache} testing. 58 * Poke into the Cache internals to simulate garbage collection of the value associated with the 78 * Poke into the Cache internals to simulate garbage collection of the given key. This assumes 472 static void checkEmpty(Collection<?> collection) { 473 assertTrue(collection.isEmpty()); 474 assertEquals(0, collection.size()); 475 assertFalse(collection.iterator().hasNext()); 476 assertEquals(0, collection.toArray().length) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractImmutableSetTest.java | 32 import java.util.Collection; 57 protected abstract Set<String> copyOf(Collection<String> elements); 139 Collection<String> c = MinimalCollection.<String>of(); 146 Collection<String> c = MinimalCollection.of("a"); 152 Collection<String> c = MinimalCollection.of("a", "a", "a"); 158 Collection<String> c = MinimalCollection.of("a", "b", "a"); 166 Collection<String> c = MinimalCollection.of("a", null, "b"); 234 Collection<String> c = of(); 240 Collection<String> c = of("a"); 246 Collection<String> c = of("a", "b", "c") [all...] |
ImmutableMultisetTest.java | 39 import java.util.Collection; 170 Collection<String> c = MinimalCollection.<String>of(); 176 Collection<String> c = MinimalCollection.of("a"); 182 Collection<String> c = MinimalCollection.of("a", "b", "a"); 188 Collection<String> c = MinimalCollection.of("a", null, "b"); 264 Collection<String> c = ImmutableMultiset.of(); 269 Collection<String> c = ImmutableMultiset.of("a"); 274 Collection<String> c = ImmutableMultiset.of("a", "b", "c"); 348 builder.addAll((Collection<String>) null); 408 Collection<String> c = ImmutableMultiset.of() [all...] |
ImmutableSortedMultisetTest.java | 37 import java.util.Collection; 179 Collection<String> c = MinimalCollection.<String>of(); 185 Collection<String> c = MinimalCollection.of("a"); 191 Collection<String> c = MinimalCollection.of("a", "b", "a"); 197 Collection<String> c = MinimalCollection.of("a", null, "b"); 274 Collection<String> c = ImmutableSortedMultiset.of(); 279 Collection<String> c = ImmutableSortedMultiset.of("a"); 284 Collection<String> c = ImmutableSortedMultiset.of("a", "b", "c"); 342 builder.addAll((Collection<String>) null); 405 Collection<String> c = ImmutableSortedMultiset.of() [all...] |
MapConstraintsTest.java | 32 import java.util.Collection; 257 Iterator<Collection<Integer>> iterator = 270 Map.Entry<String, Collection<Integer>> entry 283 Map.Entry<String, Collection<Integer>> entry 296 Map.Entry<String, Collection<Integer>> entry 309 Map.Entry<String, Collection<Integer>> entry 406 ((Collection<Integer>) constrained.asMap().values().toArray()[0]) 429 new HashMap<String, Collection<Integer>>(), new QueueSupplier()); 490 Map.Entry<String, Collection<Integer>> entry 491 = (Map.Entry<String, Collection<Integer>> 510 Collection<Integer> collection local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
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...] |
TreeMultimap.java | 27 import java.util.Collection; 113 super(new TreeMap<K, Collection<V>>(keyComparator)); 128 * <p>Creates an empty {@code TreeSet} for a collection of values for one key. 130 * @return a new {@code TreeSet} containing a collection of values for one 167 @Override public SortedMap<K, Collection<V>> asMap() { 168 return (SortedMap<K, Collection<V>>) super.asMap(); 191 setMap(new TreeMap<K, Collection<V>>(keyComparator));
|
/frameworks/base/core/java/android/util/ |
ArrayMap.java | 19 import java.util.Collection; 692 // specialized collection APIs. 748 * Determine if the array map contains all of the keys in the given collection. 749 * @param collection The collection whose contents are to be checked against. 751 * in <var>collection</var>, else returns false. 753 public boolean containsAll(Collection<?> collection) { 754 return MapCollections.containsAllHelper(this, collection); 770 * Remove all keys in the array map that exist in the given collection [all...] |
/frameworks/base/docs/html/distribute/googleplay/promote/ |
linking.jd | 23 <li>Link to a <a href="#OpeningCollection">collection</a> on Google Play</li> 116 <h2 id="OpeningCollection">Linking to a Collection</h2> 120 collection. The collection shows a ranked list of apps in the collection, with 126 <pre>http://play.google.com/store/apps/collection/<collection_name></pre> 130 <pre>market://apps/collection/<collection_name></pre> 136 <p style="margin-left:1em;"><code><a href="http://play.google.com/store/apps/collection/editors_choice">http://play.google.com/store/apps/collection/editors_choice</a></code></p> 144 <th>Collection</th><th>collection_name</th [all...] |
/frameworks/ex/common/java/com/android/common/contacts/ |
DataUsageStatUpdater.java | 37 import java.util.Collection; 80 public boolean updateWithRfc822Address(Collection<CharSequence> texts){ 100 * @see #update(Collection, Collection, String) 105 public boolean updateWithAddress(Collection<String> addresses) { 150 * @see #update(Collection, Collection, String) 155 public boolean updateWithPhoneNumber(Collection<String> numbers) { 198 private boolean update(Collection<Long> contactIds, Collection<Long> dataIds, String type) [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactorySpiTest.java | 39 import java.util.Collection; 85 Collection<? extends Certificate> col = certFactorySpi.engineGenerateCertificates(bais); 86 assertNull("Not null Collection", col); 101 Collection<? extends CRL> colCRL = certFactorySpi.engineGenerateCRLs(bais); 151 Collection<? extends Certificate> col = certFactorySpi 167 Collection<? extends CRL> colcrl = certFactorySpi.engineGenerateCRLs(dis); 221 Collection<? extends Certificate> col = certFactorySpi 237 Collection<? extends CRL> colcrl = certFactorySpi.engineGenerateCRLs(dis); 404 public Collection engineGenerateCertificates(InputStream inStream) 420 public Collection engineGenerateCRLs(InputStream inStream [all...] |
CertStore2Test.java | 19 import java.util.Collection; 216 Collection<? extends Certificate> certificates = certStore.getCertificates(null); 223 Collection<? extends Certificate> certificates = certStore.getCertificates(new MyCertSelector()); 251 Collection<? extends CRL> ls = certStore.getCRLs(null); 258 Collection<? extends CRL> ls = certStore.getCRLs(new MyCRLSelector()); 354 public Collection<? extends CRL> engineGetCRLs(CRLSelector selector) 366 public Collection<? extends Certificate> engineGetCertificates(
|
/libcore/luni/src/main/java/java/util/ |
ArrayList.java | 87 * the specified collection. 89 * @param collection 90 * the collection of elements to add. 92 public ArrayList(Collection<? extends E> collection) { 93 if (collection == null) { 94 throw new NullPointerException("collection == null"); 97 Object[] a = collection.toArray(); 180 * Adds the objects in the specified collection to this {@code ArrayList}. 182 * @param collection [all...] |
Hashtable.java | 98 private transient Collection<V> values; 600 * Returns a collection of the values contained in this {@code Hashtable}. 601 * The collection is backed by this {@code Hashtable} so changes to one are 602 * reflected by the other. The collection does not support adding. 604 * @return a collection of the values. 606 public synchronized Collection<V> values() { 607 Collection<V> vs = values; 921 public boolean removeAll(Collection<?> collection) { 923 return super.removeAll(collection); [all...] |
/external/chromium_org/build/android/pylib/base/ |
test_dispatcher.py | 8 * Create a test collection factory, using the given tests 9 - If sharding: test collection factory returns the same shared test collection 11 - If replciating: test collection factory returns a unique test collection to 15 collection until there are no tests left. 66 """A threadsafe collection of tests. 69 tests: List of tests to put in the collection. 82 """Pop a test from the collection. 103 """Add an test to the collection [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
HashMap.h | 454 inline void deleteAllValues(const HashMap<T, U, V, W, X>& collection) 457 iterator end = collection.end(); 458 for (iterator it = collection.begin(); it != end; ++it) 463 inline void deleteAllKeys(const HashMap<T, U, V, W, X>& collection) 466 iterator end = collection.end(); 467 for (iterator it = collection.begin(); it != end; ++it) 472 inline void copyKeysToVector(const HashMap<T, U, V, W, X>& collection, Y& vector) 476 vector.resize(collection.size()); 478 iterator it = collection.begin().keys(); 479 iterator end = collection.end().keys() [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
Booleans.java | 30 import java.util.Collection; 293 * Copies a collection of {@code Boolean} instances into a new array of 296 * <p>Elements are copied from the argument collection as if by {@code 297 * collection.toArray()}. Calling this method is as thread-safe as calling 300 * <p><b>Note:</b> consider representing the collection as a {@link 303 * @param collection a collection of {@code Boolean} objects 304 * @return an array containing the same values as {@code collection}, in the 306 * @throws NullPointerException if {@code collection} or any of its elements 309 public static boolean[] toArray(Collection<Boolean> 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...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
JarHostTest.java | 44 import java.util.Collection; 55 private Collection<TestIdentifier> mTests; 111 * Sets the collection of tests to run 115 void setTests(Collection<TestIdentifier> tests) { 120 * Gets the collection of tests to run 122 * @return Collection<{@link TestIdentifier}> 124 Collection<TestIdentifier> getTests() {
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
AbstractMessageLite.java | 37 import java.util.Collection; 317 final Collection<? super T> list) { 325 if (values instanceof Collection) { 326 final Collection<T> collection = (Collection<T>) values; local 327 list.addAll(collection);
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
Caps.java | 41 import java.util.Collection; 239 * @param caps The collection of renderer capabilities {@link Renderer#getCaps() }. 243 public static boolean supports(Collection<Caps> caps, Texture tex){ 276 * @param caps The collection of renderer capabilities {@link Renderer#getCaps() }. 280 public static boolean supports(Collection<Caps> caps, FrameBuffer fb){ 330 * @param caps The collection of renderer capabilities {@link Renderer#getCaps() }. 334 public static boolean supports(Collection<Caps> caps, Shader shader){
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
AbstractMessageLite.java | 37 import java.util.Collection; 309 final Collection<? super T> list) { 315 if (values instanceof Collection) { 317 Collection<T> collection = (Collection<T>) values; local 318 list.addAll(collection);
|