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

1 2 3 4 5 67 8 91011>>

  /external/guava/guava/src/com/google/common/collect/
Iterables.java 32 import java.util.Collection;
108 return (iterable instanceof Collection)
109 ? ((Collection<?>) iterable).size()
119 if (iterable instanceof Collection) {
120 Collection<?> collection = (Collection<?>) iterable; local
122 return collection.contains(element);
134 * collection.
136 * <p>This method calls {@link Collection#removeAll} if {@code iterable} is
293 Collection<? extends T> collection = toCollection(iterable); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/
HashMap.h 453 inline void deleteAllValues(const HashMap<T, U, V, W, X>& collection)
456 iterator end = collection.end();
457 for (iterator it = collection.begin(); it != end; ++it)
462 inline void deleteAllKeys(const HashMap<T, U, V, W, X>& collection)
465 iterator end = collection.end();
466 for (iterator it = collection.begin(); it != end; ++it)
471 inline void copyKeysToVector(const HashMap<T, U, V, W, X>& collection, Y& vector)
475 vector.resize(collection.size());
477 iterator it = collection.begin().keys();
478 iterator end = collection.end().keys()
    [all...]
  /libcore/luni/src/main/java/java/util/
Hashtable.java 98 private transient Collection<V> values;
600 * Returns a collection of the values contained in this {@code Hashtable}.
601 * The collection is backed by this {@code Hashtable} so changes to one are
602 * reflected by the other. The collection does not support adding.
604 * @return a collection of the values.
606 public synchronized Collection<V> values() {
607 Collection<V> vs = values;
921 public boolean removeAll(Collection<?> collection) {
923 return super.removeAll(collection);
    [all...]
  /external/chromium_org/chrome/browser/task_manager/
notification_resource_provider.cc 154 BalloonCollection* collection = balloon_manager->balloon_collection(); local
156 collection->GetActiveBalloons();
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
CertStore_ImplTest.java 36 import java.util.Collection;
89 Collection collection = certS.getCertificates(certSelector); local
90 assertNull("Not null collection", collection);
91 collection = certS.getCRLs(crlSelector);
92 assertNull("Not null collection", collection);
  /external/chromium_org/chrome/browser/ui/gtk/notifications/
balloon_view_gtk.h 42 explicit BalloonViewImpl(BalloonCollection* collection);
  /external/chromium_org/ui/message_center/views/
toast_contents_view.h 38 base::WeakPtr<MessagePopupCollection> collection,
  /external/guava/guava/src/com/google/common/primitives/
Booleans.java 30 import java.util.Collection;
293 * Copies a collection of {@code Boolean} instances into a new array of
296 * <p>Elements are copied from the argument collection as if by {@code
297 * collection.toArray()}. Calling this method is as thread-safe as calling
300 * <p><b>Note:</b> consider representing the collection as a {@link
303 * @param collection a collection of {@code Boolean} objects
304 * @return an array containing the same values as {@code collection}, in the
306 * @throws NullPointerException if {@code collection} or any of its elements
309 public static boolean[] toArray(Collection<Boolean> collection)
    [all...]
Chars.java 30 import java.util.Collection;
412 * Copies a collection of {@code Character} instances into a new array of
415 * <p>Elements are copied from the argument collection as if by {@code
416 * collection.toArray()}. Calling this method is as thread-safe as calling
419 * @param collection a collection of {@code Character} objects
420 * @return an array containing the same values as {@code collection}, in the
422 * @throws NullPointerException if {@code collection} or any of its elements
425 public static char[] toArray(Collection<Character> collection) {
    [all...]
Doubles.java 31 import java.util.Collection;
355 * Copies a collection of {@code Double} instances into a new array of
358 * <p>Elements are copied from the argument collection as if by {@code
359 * collection.toArray()}. Calling this method is as thread-safe as calling
362 * @param collection a collection of {@code Double} objects
363 * @return an array containing the same values as {@code collection}, in the
365 * @throws NullPointerException if {@code collection} or any of its elements
368 public static double[] toArray(Collection<Double> collection) {
    [all...]
Floats.java 31 import java.util.Collection;
352 * Copies a collection of {@code Float} instances into a new array of
355 * <p>Elements are copied from the argument collection as if by {@code
356 * collection.toArray()}. Calling this method is as thread-safe as calling
359 * @param collection a collection of {@code Float} objects
360 * @return an array containing the same values as {@code collection}, in the
362 * @throws NullPointerException if {@code collection} or any of its elements
365 public static float[] toArray(Collection<Float> collection) {
    [all...]
Ints.java 31 import java.util.Collection;
419 * Copies a collection of {@code Integer} instances into a new array of
422 * <p>Elements are copied from the argument collection as if by {@code
423 * collection.toArray()}. Calling this method is as thread-safe as calling
426 * @param collection a collection of {@code Integer} objects
427 * @return an array containing the same values as {@code collection}, in the
429 * @throws NullPointerException if {@code collection} or any of its elements
432 public static int[] toArray(Collection<Integer> collection) {
    [all...]
Longs.java 30 import java.util.Collection;
404 * Copies a collection of {@code Long} instances into a new array of
407 * <p>Elements are copied from the argument collection as if by {@code
408 * collection.toArray()}. Calling this method is as thread-safe as calling
411 * @param collection a collection of {@code Long} objects
412 * @return an array containing the same values as {@code collection}, in the
414 * @throws NullPointerException if {@code collection} or any of its elements
417 public static long[] toArray(Collection<Long> collection) {
    [all...]
Shorts.java 30 import java.util.Collection;
417 * Copies a collection of {@code Short} instances into a new array of
420 * <p>Elements are copied from the argument collection as if by {@code
421 * collection.toArray()}. Calling this method is as thread-safe as calling
424 * @param collection a collection of {@code Short} objects
425 * @return an array containing the same values as {@code collection}, in the
427 * @throws NullPointerException if {@code collection} or any of its elements
430 public static short[] toArray(Collection<Short> collection) {
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
Chars.java 28 import java.util.Collection;
361 * Copies a collection of {@code Character} instances into a new array of
364 * <p>Elements are copied from the argument collection as if by {@code
365 * collection.toArray()}. Calling this method is as thread-safe as calling
368 * @param collection a collection of {@code Character} objects
369 * @return an array containing the same values as {@code collection}, in the
371 * @throws NullPointerException if {@code collection} or any of its elements
374 public static char[] toArray(Collection<Character> collection) {
    [all...]
Ints.java 28 import java.util.Collection;
363 * Copies a collection of {@code Integer} instances into a new array of
366 * <p>Elements are copied from the argument collection as if by {@code
367 * collection.toArray()}. Calling this method is as thread-safe as calling
370 * @param collection a collection of {@code Integer} objects
371 * @return an array containing the same values as {@code collection}, in the
373 * @throws NullPointerException if {@code collection} or any of its elements
376 public static int[] toArray(Collection<Integer> collection) {
    [all...]
Longs.java 28 import java.util.Collection;
337 * Copies a collection of {@code Long} instances into a new array of
340 * <p>Elements are copied from the argument collection as if by {@code
341 * collection.toArray()}. Calling this method is as thread-safe as calling
344 * @param collection a collection of {@code Long} objects
345 * @return an array containing the same values as {@code collection}, in the
347 * @throws NullPointerException if {@code collection} or any of its elements
350 public static long[] toArray(Collection<Long> collection) {
    [all...]
Shorts.java 28 import java.util.Collection;
365 * Copies a collection of {@code Short} instances into a new array of
368 * <p>Elements are copied from the argument collection as if by {@code
369 * collection.toArray()}. Calling this method is as thread-safe as calling
372 * @param collection a collection of {@code Short} objects
373 * @return an array containing the same values as {@code collection}, in the
375 * @throws NullPointerException if {@code collection} or any of its elements
378 public static short[] toArray(Collection<Short> collection) {
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListAddTester.java 66 collection = getSubjectGenerator().create(array);
SetEqualsTester.java 26 import java.util.Collection;
45 Collection<E> elements = getSampleElements(getNumElements() - 1);
57 Collection<E> elements = getSampleElements(getNumElements() - 1);
60 collection = getSubjectGenerator().create(elements.toArray());
68 Collection<E> elements = getSampleElements(getNumElements() - 1);
79 Collection<E> fewerElements = getSampleElements(getNumElements() - 1);
85 Collection<E> moreElements = getSampleElements(getNumElements() + 1);
  /external/icu4c/stubdata/
icu_dat_generator.py 101 def AddResFile(collection, path):
107 collection.add(path[path.find("/")+1:end])
111 def AddAllResFiles(collection, dir_name, language):
122 collection.add(path)
  /cts/tests/uiautomator/src/com/android/cts/uiautomatortest/
CtsUiAutomatorTest.java 476 UiSelector mainLayout = new UiSelector().description("Widgets Collection");
517 UiSelector mainLayout = new UiSelector().description("Widgets Collection");
534 UiCollection collection = new UiCollection( local
535 new UiSelector().description("Widgets Collection"));
536 assertTrue("Collection layout not found", collection.waitForExists(WAIT_EXIST_TIMEOUT));
538 assertTrue("Collection count",
539 collection.getChildCount(new UiSelector().clickable(true)) == 6);
550 UiCollection collection = new UiCollection( local
551 new UiSelector().description("Widgets Collection"));
568 UiCollection collection = new UiCollection( local
587 UiCollection collection = new UiCollection( local
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/utils/
jython_compat.py 104 def enumerate(collection):
105 return zip(range(len(collection)), collection)
  /frameworks/base/core/java/android/widget/
ArrayAdapter.java 27 import java.util.Collection;
186 * Adds the specified Collection at the end of the array.
188 * @param collection The Collection to add at the end of the array.
190 public void addAll(Collection<? extends T> collection) {
193 mOriginalValues.addAll(collection);
195 mObjects.addAll(collection);
  /frameworks/uiautomator/tests/CtsUiAutomatorTest/src/com/android/uiautomator/tests/cts/
CtsUiAutomatorTest.java 450 UiSelector mainLayout = new UiSelector().description("Widgets Collection");
491 UiSelector mainLayout = new UiSelector().description("Widgets Collection");
508 UiCollection collection = new UiCollection( local
509 new UiSelector().description("Widgets Collection"));
510 assertTrue("Collection layout not found", collection.waitForExists(WAIT_EXIST_TIMEOUT));
512 assertTrue("Collection count",
513 collection.getChildCount(new UiSelector().clickable(true)) == 6);
524 UiCollection collection = new UiCollection( local
525 new UiSelector().description("Widgets Collection"));
542 UiCollection collection = new UiCollection( local
561 UiCollection collection = new UiCollection( local
    [all...]

Completed in 434 milliseconds

1 2 3 4 5 67 8 91011>>