/external/protobuf/src/google/protobuf/stubs/ |
map-util.h | 45 template <class Collection> 46 const typename Collection::value_type::second_type& 47 FindWithDefault(const Collection& collection, 48 const typename Collection::value_type::first_type& key, 49 const typename Collection::value_type::second_type& value) { 50 typename Collection::const_iterator it = collection.find(key); 51 if (it == collection.end()) { 60 template <class Collection> [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/util/ |
Store.java | 3 import java.util.Collection; 7 Collection getMatches(Selector selector)
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
TestCollectionGenerator.java | 19 import java.util.Collection; 29 extends TestContainerGenerator<Collection<E>, E> {
|
AbstractCollectionTester.java | 19 import java.util.Collection; 22 * Base class for collection testers. 26 * @param <E> the element type of the collection to be tested. 31 extends AbstractContainerTester<Collection<E>, E> { 34 protected Collection<E> collection; field in class:AbstractCollectionTester 36 @Override protected Collection<E> actualContents() { 37 return collection; 40 // TODO: dispose of this once collection is encapsulated. 41 @Override protected Collection<E> resetContainer(Collection<E> newContents) [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
CorpusFactory.java | 19 import java.util.Collection; 26 Collection<Corpus> createCorpora(Sources sources);
|
SuggestionExtras.java | 20 import java.util.Collection; 30 Collection<String> getExtraColumnNames();
|
Sources.java | 6 import java.util.Collection; 16 Collection<Source> getSources();
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
ITestPackageRepo.java | 19 import java.util.Collection; 44 * Return a sorted {@link Collection} of all package names found in repo. 46 public Collection<String> getPackageNames();
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
X509StoreSpi.java | 5 import java.util.Collection; 11 public abstract Collection engineGetMatches(Selector selector);
|
/sdk/chimpchat/src/com/android/chimpchat/core/ |
IMultiSelector.java | 21 import java.util.Collection; 28 Collection<IChimpView> getViews(ChimpManager manager);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
LeftRecursionCyclesMessage.java | 32 import java.util.Collection; 39 public Collection cycles; 41 public LeftRecursionCyclesMessage(Collection cycles) {
|
/libcore/luni/src/main/java/java/security/cert/ |
CertStoreSpi.java | 21 import java.util.Collection; 54 public abstract Collection<? extends Certificate> engineGetCertificates(CertSelector selector) 69 public abstract Collection<? extends CRL> engineGetCRLs(CRLSelector selector)
|
CollectionCertStoreParameters.java | 20 import java.util.Collection; 24 * The parameters to initialize a <i>Collection</i> type {@code CertStore} instance. 26 * It is used to specify the {@code Collection} where the {@code CertStore} will 30 // Default empty and immutable collection. 33 private static final Collection<?> defaultCollection = Collections.EMPTY_SET; 34 // A <code>Collection</code> of <code>Certificate</code>s 36 private final Collection<?> collection; field in class:CollectionCertStoreParameters 39 * Creates a new {@code CollectionCertStoreParameters} without a collection. 41 * The default collection is an empty and unmodifiable {@code Collection} [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1ValueCollection.java | 25 import java.util.Collection; 29 * This abstract class represents ASN.1 collection type. 31 * The value for such type is a collection of zero or 38 /** A value collection of this ASN.1 type */ 42 * Constructs ASN1 collection type. 56 * @return - a collection of object's values to be encoded 58 public Collection<?> getValues(Object object) { 59 return (Collection<?>) object;
|
/libcore/luni/src/main/java/java/util/ |
Collection.java | 22 * {@code Collection} is the root of the collection hierarchy. It defines operations on 24 * of {@code Collection}s. 26 * All direct or indirect implementations of {@code Collection} should implement at 28 * collection and one with a parameter of type {@code Collection}. This second 29 * constructor can be used to create a collection of different type as the 30 * initial collection but with the same elements. Implementations of {@code Collection} 34 * Methods that change the content of a collection throw a [all...] |
Set.java | 26 public interface Set<E> extends Collection<E> { 45 * Adds the objects in the specified collection which do not exist yet in 48 * @param collection 49 * the collection of objects. 58 public boolean addAll(Collection<? extends E> collection); 81 * Searches this set for all objects in the specified collection. 83 * @param collection 84 * the collection of objects. 85 * @return {@code true} if all objects in the specified collection ar [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
V8Collection.h | 52 template<class Collection> static Collection* toNativeCollection(v8::Local<v8::Object> object) 54 return reinterpret_cast<Collection*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex)); 62 // Returns named property of a collection. 63 template<class Collection, class ItemType> static v8::Handle<v8::Value> getNamedPropertyOfCollection(v8::Local<v8::String> name, v8::Local<v8::Object> object) 65 // FIXME: assert object is a collection type 68 Collection* collection = toNativeCollection<Collection>(object); local 70 return getV8Object<ItemType>(collection->namedItem(propertyName)) 94 Collection* collection = toNativeCollection<Collection>(object); local 108 Collection* collection = toNativeCollection<Collection>(info.Holder()); local 123 Collection* collection = toNativeCollection<Collection>(info.Holder()); local 140 Collection* collection = toNativeCollection<Collection>(info.Holder()); local 151 Collection* collection = toNativeCollection<Collection>(info.Holder()); local [all...] |
/frameworks/base/media/mca/filterfw/native/base/ |
utilities.h | 73 template <class Collection> 74 const typename Collection::value_type::second_type* 75 FindOrNull(const Collection& collection, 76 const typename Collection::value_type::first_type& key) { 77 typename Collection::const_iterator it = collection.find(key); 78 if (it == collection.end()) { 127 template <class Collection> 128 const typename Collection::value_type::second_typ [all...] |
/frameworks/base/media/mca/filterpacks/native/base/ |
utilities.h | 73 template <class Collection> 74 const typename Collection::value_type::second_type* 75 FindOrNull(const Collection& collection, 76 const typename Collection::value_type::first_type& key) { 77 typename Collection::const_iterator it = collection.find(key); 78 if (it == collection.end()) { 127 template <class Collection> 128 const typename Collection::value_type::second_typ [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Multimap.java | 21 import java.util.Collection; 28 * A collection similar to a {@code Map}, but which may associate multiple 44 * return a collection that includes the value twice. In multimaps not 46 * key to the value, and {@code get} will return a collection that includes the 122 * Stores a collection of values with the same key. 141 * Stores a collection of values with the same key, replacing any existing 146 * @return the collection of replaced values, or an empty collection if no 147 * values were previously associated with the key. The collection 151 Collection<V> replaceValues(@Nullable K key, Iterable<? extends V> values) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableMultimapAsMapImplementsMapTest.java | 22 import java.util.Collection; 39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 43 @Override protected Map<String, Collection<Integer>> makePopulatedMap() {
|
ImmutableSetMultimapAsMapImplementsMapTest.java | 22 import java.util.Collection; 39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 43 @Override protected Map<String, Collection<Integer>> makePopulatedMap() {
|
UnmodifiableMultimapAsMapImplementsMapTest.java | 22 import java.util.Collection; 39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 44 @Override protected Map<String, Collection<Integer>> makePopulatedMap() {
|
/libcore/luni/src/main/java/java/util/concurrent/ |
BlockingQueue.java | 9 import java.util.Collection; 77 * the {@link java.util.Collection} interface. So, for example, it is 86 * <em>bulk</em> Collection operations <tt>addAll</tt>, 150 * @param <E> the type of elements held in this collection 162 * @return <tt>true</tt> (as specified by {@link Collection#add}) 297 * to the given collection. This operation may be more 300 * collection <tt>c</tt> may result in elements being in neither, 304 * this operation is undefined if the specified collection is 307 * @param c the collection to transfer elements into 310 * is not supported by the specified collection [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ForwardingImmutableCollection.java | 19 import java.util.Collection; 32 transient final Collection<E> delegate; 34 ForwardingImmutableCollection(Collection<E> delegate) { 46 @Override public boolean containsAll(Collection<?> targets) {
|