HomeSort by relevance Sort by last modified time
    Searched refs:collection (Results 51 - 75 of 401) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/guava/guava-tests/test/com/google/common/collect/
ForwardingCollectionTest.java 30 import java.util.Collection;
43 private final Collection<T> backingCollection;
45 StandardImplForwardingCollection(Collection<T> backingCollection) {
49 @Override protected Collection<T> delegate() {
53 @Override public boolean addAll(Collection<? extends T> collection) {
54 return standardAddAll(collection);
65 @Override public boolean containsAll(Collection<?> collection) {
66 return standardContainsAll(collection);
    [all...]
ForwardingQueueTest.java 29 import java.util.Collection;
53 @Override public boolean addAll(Collection<? extends T> collection) {
54 return standardAddAll(collection);
65 @Override public boolean containsAll(Collection<?> collection) {
66 return standardContainsAll(collection);
73 @Override public boolean removeAll(Collection<?> collection) {
74 return standardRemoveAll(collection);
    [all...]
ForwardingSetTest.java 30 import java.util.Collection;
61 @Override public boolean addAll(Collection<? extends T> collection) {
62 return standardAddAll(collection);
73 @Override public boolean containsAll(Collection<?> collection) {
74 return standardContainsAll(collection);
81 @Override public boolean removeAll(Collection<?> collection) {
82 return standardRemoveAll(collection);
    [all...]
ForwardingSortedSetTest.java 29 import java.util.Collection;
60 @Override public boolean addAll(Collection<? extends T> collection) {
61 return standardAddAll(collection);
72 @Override public boolean containsAll(Collection<?> collection) {
73 return standardContainsAll(collection);
80 @Override public boolean removeAll(Collection<?> collection) {
81 return standardRemoveAll(collection);
    [all...]
ForwardingMultisetTest.java 30 import java.util.Collection;
55 @Override public boolean addAll(Collection<? extends T> collection) {
56 return standardAddAll(collection);
75 @Override public boolean containsAll(Collection<?> collection) {
76 return standardContainsAll(collection);
83 @Override public boolean removeAll(Collection<?> collection) {
84 return standardRemoveAll(collection);
    [all...]
ForwardingListTest.java 28 import java.util.Collection;
57 @Override public boolean addAll(Collection<? extends T> collection) {
58 return standardAddAll(collection);
69 @Override public boolean containsAll(Collection<?> collection) {
70 return standardContainsAll(collection);
77 @Override public boolean removeAll(Collection<?> collection) {
78 return standardRemoveAll(collection);
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
UnmodifiableCollectionTests.java 32 import java.util.Collection;
98 * Verifies that a collection is immutable.
100 * <p>A collection is considered immutable if:
105 * collection throw UnsupportedOperationException when those mutators
109 * @param collection the presumed-immutable collection
111 * {@code collection}. {@code collection} may or may not have {@code
115 Collection<E> collection, E sampleElement)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
SetCreationTester.java 46 collection = getSubjectGenerator().create(array);
58 collection = getSubjectGenerator().create(array);
72 collection = getSubjectGenerator().create(array);
84 collection = getSubjectGenerator().create(array);
AbstractListTester.java 22 import java.util.Collection;
35 * collection in setUp(), but that caused problems when a tester changed the
36 * value of list or collection but not both.
39 return (List<E>) collection;
46 * {@link AbstractCollectionTester#expectContents(Collection)} to verify that
49 @Override protected void expectContents(Collection<E> expectedCollection) {
71 return Platform.format("expected collection %s; actual collection %s",
72 expected, this.collection);
  /external/smack/src/org/jivesoftware/smackx/pubsub/
ConfigureNodeFields.java 46 * The collection with which a node is affiliated
50 collection, enum constant in enum:ConfigureNodeFields
77 * Who may associate leaf nodes with a collection
85 * collection
92 * The child nodes (leaf or collection) associated with a collection
100 * collection
121 * Whether the node is a leaf (default) or collection
  /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...]
  /libcore/dom/src/test/java/org/w3c/domts/
DOMTestInnerClass.java 15 import java.util.Collection;
61 public void assertSize(String assertID, int expectedSize, NodeList collection) {
62 test.assertSize(assertID, expectedSize, collection);
66 NamedNodeMap collection) {
67 test.assertSize(assertID, expectedSize, collection);
71 Collection collection) {
72 test.assertSize(assertID, expectedSize, collection);
80 public void assertEqualsIgnoreCase(String assertID, Collection expected,
81 Collection actual)
    [all...]
DOMTestFramework.java 15 import java.util.Collection;
60 NodeList collection);
66 NamedNodeMap collection);
72 Collection collection);
83 Collection expected,
84 Collection actual);
119 Collection expected,
120 Collection actual);
156 boolean equalsIgnoreCase(Collection expected, Collection actual)
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/
CopyOnWriteArrayList.java 25 import java.util.Collection;
87 * Creates a new instance containing the elements of {@code collection}.
90 public CopyOnWriteArrayList(Collection<? extends E> collection) {
91 this((E[]) collection.toArray());
124 public boolean containsAll(Collection<?> collection) {
126 return containsAll(collection, snapshot, 0, snapshot.length);
129 static boolean containsAll(Collection<?> collection, Object[] snapshot, int from, int to)
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/
HashSet.h 214 void deleteAllValues(HashTableType& collection)
217 iterator end = collection.end();
218 for (iterator it = collection.begin(); it != end; ++it)
223 inline void deleteAllValues(const HashSet<T, U, V>& collection)
225 deleteAllValues<typename HashSet<T, U, V>::ValueType>(collection.m_impl);
229 void fastDeleteAllValues(HashTableType& collection)
232 iterator end = collection.end();
233 for (iterator it = collection.begin(); it != end; ++it)
238 inline void fastDeleteAllValues(const HashSet<T, U, V>& collection)
240 fastDeleteAllValues<typename HashSet<T, U, V>::ValueType>(collection.m_impl)
    [all...]
HashCountedSet.h 198 inline void copyToVector(const HashCountedSet<Value, HashFunctions, Traits>& collection, VectorType& vector)
202 vector.resize(collection.size());
204 iterator it = collection.begin();
205 iterator end = collection.end();
211 inline void copyToVector(const HashCountedSet<Value, HashFunctions, Traits>& collection, Vector<Value>& vector)
215 vector.resize(collection.size());
217 iterator it = collection.begin();
218 iterator end = collection.end();
  /frameworks/base/services/java/com/android/server/net/
NetworkStatsRecorder.java 269 public CombiningRewriter(NetworkStatsCollection collection) {
270 mCollection = checkNotNull(collection, "missing NetworkStatsCollection");
335 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); local
336 collection.readLegacyNetwork(file);
338 final long startMillis = collection.getStartMillis();
339 final long endMillis = collection.getEndMillis();
341 if (!collection.isEmpty()) {
344 mRotator.rewriteActive(new CombiningRewriter(collection), startMillis);
353 final NetworkStatsCollection collection = new NetworkStatsCollection(mBucketDuration); local
354 collection.readLegacyUid(file, mOnlyTags)
    [all...]
  /external/webkit/Source/WebKit/gtk/tests/
testdomdocument.c 168 WebKitDOMHTMLCollection *collection = webkit_dom_document_get_links(document); local
169 g_assert(collection);
170 gulong length = webkit_dom_html_collection_get_length(collection);
178 WebKitDOMNode *node = webkit_dom_html_collection_item(collection, i);
187 g_object_unref(collection);
211 WebKitDOMHTMLCollection *collection = webkit_dom_document_get_links(document); local
212 g_assert(collection);
213 g_object_weak_ref(G_OBJECT(collection), (GWeakNotify)weak_notify, &count);
222 g_object_unref(collection);
236 collection = webkit_dom_document_get_links(document)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
MinimalCollection.java 21 import java.util.Collection;
25 * A simplistic collection which implements only the bare minimum allowed by the
78 @Override public boolean containsAll(Collection<?> collection) {
80 for (Object object : collection) {
87 return super.containsAll(collection);
101 * a "type A" unmodifiable collection freaks out proactively, even if there
105 @Override public boolean addAll(Collection<? extends E> elementsToAdd) {
108 @Override public boolean removeAll(Collection<?> elementsToRemove) {
111 @Override public boolean retainAll(Collection<?> elementsToRetain)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/android/rendering/
SurfaceCollectionManager.h 48 bool updateWithSurfaceCollection(SurfaceCollection* collection, bool brandNew);
  /libcore/luni/src/main/java/java/util/
HashSet.java 68 * elements in the specified collection.
70 * @param collection
71 * the collection of elements to add.
73 public HashSet(Collection<? extends E> collection) {
74 this(new HashMap<E, HashSet<E>>(collection.size() < 6 ? 11 : collection
76 for (E e : collection) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
CollectionUtils.java 22 import java.util.Collection;
76 public static <E> ArrayList<E> newArrayList(final Collection<E> collection) {
77 return new ArrayList<E>(collection);
89 final Collection<E> collection) {
90 return new CopyOnWriteArrayList<E>(collection);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
EnumMapTest.java 20 import java.util.Collection;
386 Collection c = new ArrayList();
643 Collection c = new ArrayList();
990 Collection collection = enumColorMap.values(); local
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
EnumMapTest.java 22 import java.util.Collection;
389 Collection c = new ArrayList();
645 Collection c = new ArrayList();
991 Collection collection = enumColorMap.values(); local
    [all...]
  /external/chromium/chrome/browser/notifications/
balloon.cc 15 BalloonCollection* collection)
18 collection_(collection) {

Completed in 261 milliseconds

1 23 4 5 6 7 8 91011>>