Searched defs:collection (Results 1 - 25 of 194) sorted by relevance

12345678

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/jcajce/
H A DJcaCertStore.java26 * @param collection - initial contents for the store, this is copied.
28 public JcaCertStore(Collection collection) argument
31 super(convertCerts(collection));
34 private static Collection convertCerts(Collection collection) argument
37 List list = new ArrayList(collection.size());
39 for (Iterator it = collection.iterator(); it.hasNext();)
/external/pdfium/third_party/base/
H A Dstl_util.h11 // Returns true if the key is in the collection.
13 bool ContainsKey(const Collection& collection, const Key& key) { argument
14 return collection.find(key) != collection.end();
17 // Test to see if a collection like a vector contains a particular value.
18 // Returns true if the value is in the collection.
20 bool ContainsValue(const Collection& collection, const Value& value) { argument
21 return std::find(collection.begin(), collection.end(), value) !=
22 collection
[all...]
/external/hamcrest/library/src/org/hamcrest/collection/
H A DIsCollectionContaining.java1 package org.hamcrest.collection;
20 public boolean matchesSafely(Iterable<T> collection) { argument
21 for (T item : collection) {
31 .appendText("a collection containing ")
H A DIsIn.java1 package org.hamcrest.collection;
12 private final Collection<T> collection; field in class:IsIn
14 public IsIn(Collection<T> collection) { argument
15 this.collection = collection;
19 collection = Arrays.asList(elements);
23 return collection.contains(o);
28 buffer.appendValueList("{", ", ", "}", collection);
32 public static <T> Matcher<T> isIn(Collection<T> collection) { argument
33 return new IsIn<T>(collection);
[all...]
H A DIsArray.java1 package org.hamcrest.collection;
H A DIsArrayContaining.java1 package org.hamcrest.collection;
H A DIsMapContaining.java1 package org.hamcrest.collection;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DCollectionStore.java9 * A simple collection backed store.
19 * @param collection - initial contents for the store, this is copied.
22 Collection<T> collection)
24 _local = new ArrayList<T>(collection);
28 * Return the matches in the collection for the passed in selector.
31 * @return a possibly empty collection of matching objects.
21 CollectionStore( Collection<T> collection) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
H A DX509CollectionStoreParameters.java7 * This class contains a collection for collection based <code>X509Store</code>s.
15 private Collection collection; field in class:X509CollectionStoreParameters
20 * The collection is copied.
23 * @param collection
24 * The collection containing X.509 object types.
25 * @throws NullPointerException if <code>collection</code> is <code>null</code>.
27 public X509CollectionStoreParameters(Collection collection) argument
29 if (collection == null)
31 throw new NullPointerException("collection canno
[all...]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
H A DJoin.java6 public static String join(String delimiter, Collection collection) { argument
9 for (Object obj : collection) {
19 public static String join(String delimiter, Object... collection) { argument
22 for (Object obj : collection) {
/external/ceres-solver/internal/ceres/
H A Dmap_util.h59 FindOrDie(const Collection& collection, argument
61 typename Collection::const_iterator it = collection.find(key);
62 CHECK(it != collection.end()) << "Map key not found: " << key;
71 FindWithDefault(const Collection& collection, argument
74 typename Collection::const_iterator it = collection.find(key);
75 if (it == collection.end()) {
87 Collection * const collection,
91 collection->insert(typename Collection::value_type(key, value));
100 FindOrNull(Collection& collection, // NOLINT argument
102 typename Collection::iterator it = collection
86 InsertIfNotPresent( Collection * const collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& value) argument
112 ContainsKey(const Collection& collection, const Key& key) argument
120 InsertOrDie(Collection* const collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& data) argument
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DForwardingSet.java75 protected boolean standardRemoveAll(Collection<?> collection) { argument
76 return Sets.removeAllImpl(this, checkNotNull(collection)); // for GWT
H A DEvictingQueue.java111 @Override public boolean addAll(Collection<? extends E> collection) { argument
112 return standardAddAll(collection);
H A DImmutableAsList.java28 * to the backing collection.
39 // The collection's contains() is at least as fast as ImmutableList's
64 final ImmutableCollection<?> collection; field in class:ImmutableAsList.SerializedForm
65 SerializedForm(ImmutableCollection<?> collection) { argument
66 this.collection = collection;
69 return collection.asList();
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DAbstractCollectionTester.java24 * Base class for collection testers.
26 * @param <E> the element type of the collection to be tested.
35 protected Collection<E> collection; field in class:AbstractCollectionTester
38 return collection;
41 // TODO: dispose of this once collection is encapsulated.
43 collection = super.resetContainer(newContents);
44 return collection;
/external/junit/src/org/junit/internal/matchers/
H A DIsCollectionContaining.java22 public boolean matchesSafely(Iterable<T> collection) { argument
23 for (T item : collection) {
33 .appendText("a collection containing ")
/external/mockito/src/org/mockito/internal/util/collections/
H A DListUtil.java13 public static <T> LinkedList<T> filter(Collection<T> collection, Filter<T> filter) { argument
15 for (T t : collection) {
/external/protobuf/src/google/protobuf/stubs/
H A Dmap-util.h47 FindWithDefault(const Collection& collection, argument
50 typename Collection::const_iterator it = collection.find(key);
51 if (it == collection.end()) {
62 FindOrNull(const Collection& collection, argument
64 typename Collection::const_iterator it = collection.find(key);
65 if (it == collection.end()) {
78 FindPtrOrNull(const Collection& collection, argument
80 typename Collection::const_iterator it = collection.find(key);
81 if (it == collection.end()) {
92 bool InsertOrUpdate(Collection * const collection, argument
109 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument
[all...]
/external/sl4a/Utils/src/com/googlecode/android_scripting/interpreter/
H A DExternalClassLoader.java38 private static String join(Collection<String> collection, String delimiter) { argument
40 Iterator<String> iter = collection.iterator();
/external/webrtc/webrtc/base/
H A Dscopedptrcollection.h11 // Stores a collection of pointers that are deleted when the container is
38 const VectorT& collection() const { return collection_; } function in class:rtc::ScopedPtrCollection
46 // Remove |t| from the collection without deleting it.
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/
H A DAssert.java78 * Verify that the collection is not null or empty. Throw an
80 * @param collection - the Collection
82 * @throws AssertFailedException - if collection is null or empty
84 public static void notNullOrEmpty(Collection collection, String argName) { argument
85 notNull(collection, argName);
86 if (collection.isEmpty()) {
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/util/
H A DAssert.java78 * Verify that the collection is not null or empty. Throw an
80 * @param collection - the Collection
82 * @throws AssertFailedException - if collection is null or empty
84 public static void notNullOrEmpty(Collection collection, String argName) { argument
85 notNull(collection, argName);
86 if (collection.isEmpty()) {
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/core/util/
H A DAssert.java78 * Verify that the collection is not null or empty. Throw an
80 * @param collection - the Collection
82 * @throws AssertFailedException - if collection is null or empty
84 public static void notNullOrEmpty(Collection collection, String argName) { argument
85 notNull(collection, argName);
86 if (collection.isEmpty()) {
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/core/util/
H A DAssert.java78 * Verify that the collection is not null or empty. Throw an
80 * @param collection - the Collection
82 * @throws AssertFailedException - if collection is null or empty
84 public static void notNullOrEmpty(Collection collection, String argName) { argument
85 notNull(collection, argName);
86 if (collection.isEmpty()) {
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/core/util/
H A DAssert.java78 * Verify that the collection is not null or empty. Throw an
80 * @param collection - the Collection
82 * @throws AssertFailedException - if collection is null or empty
84 public static void notNullOrEmpty(Collection collection, String argName) { argument
85 notNull(collection, argName);
86 if (collection.isEmpty()) {

Completed in 1565 milliseconds

12345678