Searched refs:collection (Results 1 - 25 of 212) sorted by relevance

123456789

/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/guava/guava/src/com/google/common/collect/
H A DImmutableAsList.java26 * List returned by {@link ImmutableCollection#asList} when the collection isn't
34 private final transient ImmutableCollection<E> collection; field in class:ImmutableAsList
36 ImmutableAsList(Object[] array, ImmutableCollection<E> collection) { argument
38 this.collection = collection;
42 // The collection's contains() is at least as fast as RegularImmutableList's
44 return collection.contains(target);
51 final ImmutableCollection<?> collection; field in class:ImmutableAsList.SerializedForm
52 SerializedForm(ImmutableCollection<?> collection) { argument
53 this.collection
[all...]
H A DForwardingCollection.java29 * A collection which forwards all its method calls to another collection.
31 * backing collection as desired per the <a
69 public boolean removeAll(Collection<?> collection) { argument
70 return delegate().removeAll(collection);
94 public boolean containsAll(Collection<?> collection) { argument
95 return delegate().containsAll(collection);
99 public boolean addAll(Collection<? extends E> collection) { argument
100 return delegate().addAll(collection);
104 public boolean retainAll(Collection<?> collection) { argument
141 standardContainsAll(Collection<?> collection) argument
157 standardAddAll(Collection<? extends E> collection) argument
188 standardRemoveAll(Collection<?> collection) argument
200 standardRetainAll(Collection<?> collection) argument
[all...]
H A DAbstractMultimap.java46 * 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 instance
97 * all values for the key are removed, the key and collection ar
318 unmodifiableCollectionSubclass( Collection<V> collection) argument
362 wrapCollection( @ullable K key, Collection<V> collection) argument
566 addAll(Collection<? extends V> collection) argument
639 iteratorOrListIterator(Collection<V> collection) argument
1111 Collection<V> collection; field in class:AbstractMultimap.EntryIterator
1274 Collection<V> collection; field in class:AbstractMultimap.AsMap.AsMapIterator
[all...]
H A DCollections2.java50 * 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()},
65 * iterate across every element in the underlying collection and determine
82 // collection
94 safeContains(Collection<?> collection, Object object) argument
125 addAll(Collection<? extends E> collection) argument
159 containsAll(Collection<?> collection) argument
196 removeAll(final Collection<?> collection) argument
208 retainAll(final Collection<?> collection) argument
317 toStringImpl(final Collection<?> collection) argument
[all...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DCollectionEqualsTester.java31 collection.equals(collection));
37 collection.equals(null));
44 collection.equals("huh?"));
H A DCollectionRemoveTester.java32 * A generic JUnit test which tests {@code remove} operations on a collection.
45 int initialSize = collection.size();
47 collection.remove(samples.e0));
48 assertEquals("remove(present) should decrease a collection's size by one.",
49 initialSize - 1, collection.size());
56 collection.remove(samples.e3));
63 collection = getSubjectGenerator().create(createArrayWithNullElement());
65 int initialSize = collection.size();
66 assertTrue("remove(null) should return true", collection.remove(null));
67 assertEquals("remove(present) should decrease a collection'
[all...]
H A DCollectionContainsAllTester.java33 * collection. Can't be invoked directly; please see
46 collection.containsAll(MinimalCollection.of()));
52 collection.containsAll(MinimalCollection.of(samples.e0)));
57 collection.containsAll(MinimalCollection.of(createSamplesArray())));
62 collection.containsAll(collection));
67 collection.containsAll(MinimalCollection.of(samples.e0, samples.e3)));
72 collection.containsAll(MinimalCollection.of(samples.e3)));
78 assertFalse(collection.containsAll(MinimalCollection.of((E) null)));
84 assertFalse(collection
[all...]
H A DCollectionContainsTester.java30 * collection. Can't be invoked directly; please see
42 collection.contains(samples.e0));
47 collection.contains(samples.e3));
53 collection.contains(null));
67 collection.contains(samples.e3));
74 assertTrue("contains(null) should return true", collection.contains(null));
80 collection.contains(WrongType.VALUE));
H A DCollectionRemoveAllTester.java34 * collection. Can't be invoked directly; please see
47 collection.removeAll(MinimalCollection.of()));
54 collection.removeAll(MinimalCollection.of(samples.e3)));
62 collection.removeAll(MinimalCollection.of(samples.e0)));
70 collection.removeAll(MinimalCollection.of(samples.e0, samples.e3)));
81 collection.removeAll(MinimalCollection.of(
92 collection.removeAll(MinimalCollection.of()));
103 collection.removeAll(MinimalCollection.of(samples.e3)));
113 collection.removeAll(MinimalCollection.of(samples.e0));
119 assertTrue(collection
[all...]
H A DCollectionAddAllTester.java34 * A generic JUnit test which tests addAll operations on a collection. Can't be
48 collection.addAll(emptyCollection()));
56 collection.addAll(emptyCollection()));
65 collection.addAll(createDisjointCollection()));
72 collection.addAll(createDisjointCollection());
84 collection.addAll(MinimalCollection.of(samples.e3, samples.e0)));
85 assertTrue("should contain " + samples.e3, collection.contains(samples.e3));
86 assertTrue("should contain " + samples.e0, collection.contains(samples.e0));
93 collection.addAll(MinimalCollection.of(samples.e3, samples.e0));
105 collection
[all...]
H A DCollectionIsEmptyTester.java26 * collection. Can't be invoked directly; please see
36 assertTrue("isEmpty() should return true", collection.isEmpty());
41 assertFalse("isEmpty() should return false", collection.isEmpty());
/external/webkit/LayoutTests/fast/dom/getElementsByClassName/resources/
H A Dcommon.js2 function t(collection, elements) {
9 if(collection.length != elements.length) {
11 log += "Got " + collection.length + " elements, expected " + elements.length + ". "
13 for(var i = 0, max = collection.length > elements.length ? elements.length : collection.length; i < max; i++) {
14 if(collection[i] != elements[i]) {
16 log += "Got element `" + collection[i].tagName + "` (" + collection[i].namespaceURI + ")"
/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/chromium/chrome/browser/
H A Dbrowsing_data_appcache_helper_unittest.cc51 std::map<GURL, appcache::AppCacheInfoVector>& collection = local
54 ASSERT_EQ(2u, collection.size());
55 EXPECT_TRUE(ContainsKey(collection, manifest1.GetOrigin()));
56 ASSERT_EQ(1u, collection[manifest1.GetOrigin()].size());
57 EXPECT_EQ(manifest1, collection[manifest1.GetOrigin()].at(0).manifest_url);
59 EXPECT_TRUE(ContainsKey(collection, manifest2.GetOrigin()));
60 EXPECT_EQ(2u, collection[manifest2.GetOrigin()].size());
62 manifest_results.insert(collection[manifest2.GetOrigin()].at(0).manifest_url);
63 manifest_results.insert(collection[manifest2.GetOrigin()].at(1).manifest_url);
83 std::map<GURL, appcache::AppCacheInfoVector>& collection local
[all...]
/external/jmonkeyengine/engine/src/networking/com/jme3/network/
H A DFilters.java58 * collection and false for all other cases.
60 public static <T> Filter<T> in( Collection<? extends T> collection )
62 return new InFilter<T>(collection);
77 * collection and false for all other cases. This is the equivalent
78 * of calling not(in(collection)).
80 public static <T> Filter<T> notIn( Collection<? extends T> collection )
82 return not( in( collection ) );
130 private Collection<? extends T> collection; field in class:Filters.InFilter
132 public InFilter( Collection<? extends T> collection )
134 this.collection
[all...]
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
H A DCollectionSerializer.java55 Collection collection;
57 collection = (Collection)c.newInstance();
59 log.log(Level.FINE, "[Serializer][???] Could not determine collection type. Using ArrayList.");
60 collection = new ArrayList(length);
63 if (length == 0) return (T)collection;
71 collection.add(serializer.readObject(data, clazz));
75 collection.add(Serializer.readClassAndObject(data));
78 return (T)collection;
82 Collection collection = (Collection)object;
83 int length = collection
[all...]
/external/chromium/chrome/browser/chromeos/notifications/
H A Dnotification_browsertest.cc140 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
145 collection->Add(NewMockNotification("1"), browser()->profile());
152 collection->Add(NewMockNotification("2"), browser()->profile());
158 collection->RemoveById("1");
165 collection->RemoveById("2");
179 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
186 collection->Add(NewMockNotification("1"), browser()->profile());
187 collection->Add(NewMockNotification("2"), browser()->profile());
194 collection->RemoveById("1");
200 collection
227 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
264 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
307 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
374 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
388 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
417 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
492 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
525 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
548 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
579 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
[all...]
/external/webkit/Source/WebCore/bindings/js/
H A DJSHTMLCollectionCustom.cpp40 static JSValue getNamedItems(ExecState* exec, JSHTMLCollection* collection, const Identifier& propertyName) argument
43 collection->impl()->namedItems(identifierToAtomicString(propertyName), namedItems);
48 return toJS(exec, collection->globalObject(), namedItems[0].get());
53 return toJS(exec, collection->globalObject(), StaticNodeList::adopt(namedItems).get());
65 HTMLCollection* collection = jsCollection->impl(); local
75 return JSValue::encode(toJS(exec, jsCollection->globalObject(), collection->item(index)));
87 Node* node = collection->namedItem(pstr);
91 node = collection->nextNamedItem(pstr);
105 bool JSHTMLCollection::canGetItemsForName(ExecState*, HTMLCollection* collection, const Identifier& propertyName) argument
108 collection
132 toJS(ExecState* exec, JSDOMGlobalObject* globalObject, HTMLCollection* collection) argument
[all...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DAbstractCollectionTester.java22 * Base class for collection testers.
26 * @param <E> the element type of the collection to be tested.
34 protected Collection<E> collection; field in class:AbstractCollectionTester
37 return collection;
40 // TODO: dispose of this once collection is encapsulated.
42 collection = super.resetContainer(newContents);
43 return collection;
/external/clang/test/SemaObjC/
H A Dforeach.m43 NSObject<NSFastEnumeration>* collection = ((void*)0);
44 for (id thing in collection) { }
53 void test2(NSObject<NSFastEnumeration> *collection) {
55 for (obj.prop in collection) { /* expected-error {{selector element is not a valid lvalue}} */
/external/webkit/Source/WebKit/qt/Api/
H A Dqwebelement.h201 void append(const QWebElementCollection &collection);
214 inline const_iterator(const QWebElementCollection* collection, int index) : i(index), collection(collection) {} argument
215 inline const_iterator(const const_iterator& o) : i(o.i), collection(o.collection) {}
217 inline const QWebElement operator*() const { return collection->at(i); }
219 inline bool operator==(const const_iterator& o) const { return i == o.i && collection == o.collection; }
220 inline bool operator!=(const const_iterator& o) const { return i != o.i || collection !
237 const QWebElementCollection* const collection; member in class:QWebElementCollection::const_iterator
248 iterator(const QWebElementCollection* collection, int index) argument
271 const QWebElementCollection* const collection; member in class:QWebElementCollection::iterator
[all...]
/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/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 collection)
24 _local = new ArrayList(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 collection) argument
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DAbstractMultisetTester.java24 * Base class for multiset collection tests.
31 return (Multiset<E>) collection;
35 collection =

Completed in 777 milliseconds

123456789