HomeSort by relevance Sort by last modified time
    Searched refs:collection (Results 101 - 125 of 413) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListCreationTester.java 41 collection = getSubjectGenerator().create(array);
CollectionRetainAllTester.java 30 import java.util.Collection;
36 * collection. Can't be invoked directly; please see
47 * A collection of elements to retain, along with a description for use in
51 private final Collection<E> toRetain;
54 private Target(Collection<E> toRetain, String description) {
288 * collection is empty, but we'd still like to test retainAll(null) when we
297 collection.retainAll(null);
307 collection.retainAll(null);
316 assertTrue(message, collection.retainAll(target.toRetain));
322 assertFalse(message, collection.retainAll(target.toRetain))
    [all...]
  /external/chromium/chrome/browser/notifications/
balloon.h 53 BalloonCollection* collection);
71 const BalloonCollection* collection() const { return collection_; } function in class:Balloon
79 // to the balloon collection for checking against available space and
118 // The collection that this balloon belongs to. Non-owned pointer.
  /external/chromium_org/chrome/browser/notifications/
balloon.h 55 BalloonCollection* collection);
73 const BalloonCollection* collection() const { return collection_; } function in class:Balloon
81 // to the balloon collection for checking against available space and
123 // The collection that this balloon belongs to. Non-owned pointer.
  /external/guava/guava/src/com/google/common/collect/
ImmutableEnumSet.java 22 import java.util.Collection;
65 @Override public boolean containsAll(Collection<?> collection) {
66 return delegate.containsAll(collection);
ArrayListMultimap.java 29 import java.util.Collection;
103 super(new HashMap<K, Collection<V>>());
108 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys));
122 * Creates a new, empty {@code ArrayList} to hold the collection of values for
133 for (Collection<V> collection : backingMap().values()) {
134 ArrayList<V> arrayList = (ArrayList<V>) collection;
157 Map<K, Collection<V>> map = Maps.newHashMapWithExpectedSize(distinctKeys);
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ArrayListMultimap.java 25 import java.util.Collection;
98 super(new HashMap<K, Collection<V>>());
103 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys));
117 * Creates a new, empty {@code ArrayList} to hold the collection of values for
128 for (Collection<V> collection : backingMap().values()) {
129 ArrayList<V> arrayList = (ArrayList<V>) collection;
  /external/junit/src/org/junit/internal/matchers/
IsCollectionContaining.java 7 import java.util.Collection;
22 public boolean matchesSafely(Iterable<T> collection) {
23 for (T item : collection) {
33 .appendText("a collection containing ")
49 Collection<Matcher<? extends Iterable<T>>> all
59 Collection<Matcher<? extends Iterable<T>>> all
  /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/chrome/browser/ui/panels/
panel_manager.cc 171 // collections since some collection might depend on it.
187 // Docked collection should be disposed explicitly before
188 // DisplaySettingsProvider is gone since docked collection needs to remove
210 PanelCollection* panel_collection = panel->collection();
266 // Find the appropriate panel collection to hold the new panel.
270 PanelCollection* collection = GetCollectionForNewPanel( local
273 // Let the panel collection decide the initial bounds.
274 gfx::Rect bounds = collection->GetInitialPanelBounds(
278 panel->Initialize(url, bounds, collection->UsesAlwaysOnTopPanels());
286 // Add the panel to the panel collection
415 PanelCollection* collection = panel->collection(); local
    [all...]
  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
ByteString.java 41 import java.util.Collection;
323 Collection<ByteString> results = new ArrayList<ByteString>();
406 Collection<ByteString> collection; local
407 if (!(byteStrings instanceof Collection)) {
408 collection = new ArrayList<ByteString>();
410 collection.add(byteString);
413 collection = (Collection<ByteString>) byteStrings;
416 if (collection.isEmpty())
    [all...]
LazyStringArrayList.java 36 import java.util.Collection;
118 public boolean addAll(Collection<? extends String> c) {
119 // The default implementation of AbstractCollection.addAll(Collection)
121 // addAll(int, Collection), which makes a special case for Collections
127 public boolean addAll(int index, Collection<? extends String> c) {
130 Collection<?> collection = c instanceof LazyStringList local
132 boolean ret = list.addAll(index, collection);
  /frameworks/base/core/java/android/util/
ArraySet.java 20 import java.util.Collection;
46 public final class ArraySet<E> implements Collection<E>, Set<E> {
569 // specialized collection APIs.
630 public boolean containsAll(Collection<?> collection) {
631 Iterator<?> it = collection.iterator();
641 public boolean addAll(Collection<? extends E> collection) {
642 ensureCapacity(mSize + collection.size());
644 for (E value : collection) {
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
SafeTreeSet.java 20 import java.util.Collection;
47 public SafeTreeSet(Collection<? extends E> collection) {
48 this(new TreeSet<E>(collection));
70 @Override public boolean addAll(Collection<? extends E> collection) {
71 for (E e : collection) {
74 return delegate.addAll(collection);
98 @Override public boolean containsAll(Collection<?> c) {
159 @Override public boolean removeAll(Collection<?> c)
    [all...]
  /libcore/luni/src/main/java/java/util/
Collections.java 29 * {@code Collection} classes.
155 @Override public Collection values() {
363 static class SynchronizedCollection<E> implements Collection<E>, Serializable {
365 final Collection<E> c;
368 SynchronizedCollection(Collection<E> collection) {
369 c = collection;
373 SynchronizedCollection(Collection<E> collection, Object mutex) {
374 c = collection;
    [all...]
LinkedList.java 252 * elements contained in the specified {@code collection}. The order of the
254 * iteration order of {@code collection}.
256 * @param collection
257 * the collection of elements to add.
259 public LinkedList(Collection<? extends E> collection) {
261 addAll(collection);
324 * Inserts the objects in the specified collection at the specified location
326 * returned from the collection's iterator.
330 * @param collection
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
ArrayListTest.java 21 import java.util.Collection;
75 * @tests java.util.ArrayList#ArrayList(java.util.Collection)
78 // Test for method java.util.ArrayList(java.util.Collection)
80 assertTrue("arrayList created from collection has incorrect size", al
84 "arrayList created from collection has incorrect elements",
90 Collection<String> collection = shrinksOnSize("A", "B", "C", "D"); local
91 ArrayList<String> list = new ArrayList<String>(collection);
189 * @tests java.util.ArrayList#addAll(int, java.util.Collection)
193 // java.util.Collection)
879 ArrayList collection = new ArrayList(); local
    [all...]
  /external/chromium_org/base/
stl_util.h 192 // Returns true if the key is in the collection.
193 template <typename Collection, typename Key>
194 bool ContainsKey(const Collection& collection, const Key& key) {
195 return collection.find(key) != collection.end();
  /external/chromium_org/third_party/tlslite/tlslite/utils/
compat.py 11 def enumerate(collection):
12 return zip(range(len(collection)), collection)
  /libcore/dom/src/test/java/org/w3c/domts/
JUnitTestCaseAdapter.java 21 import java.util.Collection;
226 public void assertSize(DOMTestCase test, String assertID, int expectedSize, NodeList collection) {
227 assertEquals(assertID,expectedSize, collection.getLength());
230 public void assertSize(DOMTestCase test, String assertID, int expectedSize, NamedNodeMap collection) {
231 assertEquals(assertID, expectedSize, collection.getLength());
234 public void assertSize(DOMTestCase test, String assertID, int expectedSize, Collection collection) {
235 assertEquals(assertID, expectedSize, collection.size());
244 public void assertEqualsIgnoreCase(DOMTestCase test, String assertID, Collection expected, Collection actual)
    [all...]
  /packages/apps/Mms/src/com/android/mms/model/
SlideModel.java 21 import java.util.Collection;
71 * Create a SlideModel with exist media collection.
74 * @param mediaList The exist media collection.
288 public boolean addAll(Collection<? extends MediaModel> collection) {
319 public boolean containsAll(Collection<?> collection) {
320 return mMedia.containsAll(collection);
340 public boolean removeAll(Collection<?> collection) {
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
TestUtil.java 7 import java.util.Collection;
16 public static void assertEquals(Collection<?> expected, Collection<?> actual) {
20 public static String stringify(Collection<?> collection) {
22 for (Object o : collection) {
  /frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
UsbHid.java 49 (byte)0xa1, 0x01, // COLLECTION (Application)
52 (byte)0xa1, 0x00, // COLLECTION (Physical)
66 byte[] collection = new byte[] {
69 (byte)0xa1, 0x02, // COLLECTION (Logical)
92 buffer.put(collection);
  /external/chromium/chrome/browser/
jumplist_win.cc 173 HRESULT AddShellLink(base::win::ScopedComPtr<IObjectCollection> collection,
241 // Add this IShellLink object to the given collection.
242 return collection->AddObject(link);
299 // We once add the given items to this collection object and add this
300 // collection to the JumpList.
301 base::win::ScopedComPtr<IObjectCollection> collection; local
302 HRESULT result = collection.CreateInstance(CLSID_EnumerableObjectCollection,
310 AddShellLink(collection, application, switches, link);
321 result = collection.QueryInterface(object_array.Receive());
340 base::win::ScopedComPtr<IObjectCollection> collection; local
    [all...]
  /external/chromium_org/chrome/browser/
jumplist_win.cc 150 HRESULT AddShellLink(base::win::ScopedComPtr<IObjectCollection> collection,
224 // Add this IShellLink object to the given collection.
225 return collection->AddObject(link);
284 // We once add the given items to this collection object and add this
285 // collection to the JumpList.
286 base::win::ScopedComPtr<IObjectCollection> collection; local
287 HRESULT result = collection.CreateInstance(CLSID_EnumerableObjectCollection,
295 AddShellLink(collection, application, switches, link);
306 result = collection.QueryInterface(object_array.Receive());
325 base::win::ScopedComPtr<IObjectCollection> collection; local
    [all...]

Completed in 1118 milliseconds

1 2 3 45 6 7 8 91011>>