/libcore/luni/src/main/java/java/util/ |
AbstractQueue.java | 26 * Queue#peek}, {@link Queue#poll}, {@link Collection#size}, and 27 * {@link Collection#iterator}. Typically, additional methods will be 33 * @param <E> the type of elements held in this collection 55 * @return <tt>true</tt> (as specified by {@link Collection#add}) 123 * Adds all of the elements in the specified collection to this 126 * this operation is undefined if the specified collection is 129 * <p>This implementation iterates over the specified collection, 137 * @param c collection containing elements to be added to this queue 140 * collection prevents it from being added to this queue 141 * @throws NullPointerException if the specified collection contains [all...] |
List.java | 22 * A {@code List} is a collection which maintains an ordering for its elements. Every 27 public interface List<E> extends Collection<E> { 69 * Inserts the objects in the specified collection at the specified location 71 * the collection's iterator. 75 * @param collection 76 * the collection of objects to be inserted. 78 * otherwise (i.e. if the passed collection was empty). 89 public boolean addAll(int location, Collection<? extends E> collection); 92 * Adds the objects in the specified collection to the end of this {@code List}. Th [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ImmutableCollection.java | 22 import java.util.Collection; 28 * An immutable collection. Does not permit null elements. 30 * <p>In addition to the {@link Collection} methods, this class has an {@link 31 * #asList()} method, which returns a list view of the collection's elements. 43 implements Collection<E>, Serializable { 50 * Returns an unmodifiable iterator across the elements in this collection. 71 public boolean containsAll(Collection<?> targets) { 85 * Guaranteed to throw an exception and leave the collection unmodified. 95 * Guaranteed to throw an exception and leave the collection unmodified. 105 * Guaranteed to throw an exception and leave the collection unmodified [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
CollectionToStringTester.java | 32 * collection. Can't be invoked directly; please see 42 collection.toString()); 49 collection.toString()); 56 "[" + samples.e0 + "]", collection.toString()); 64 assertEquals("collection.toString() incorrect", 65 expected, collection.toString());
|
CollectionAddAllTester.java | 34 * 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.addAll(MinimalCollection.of(samples.e0))) [all...] |
AbstractQueueTester.java | 24 * Base class for queue collection tests. 32 return (Queue<E>) collection;
|
CollectionAddTester.java | 31 * A generic JUnit test which tests {@code add} operations on a collection. 45 collection.add(samples.e3)); 52 collection.add(samples.e3); 65 collection.add(samples.e0)); 75 assertTrue("add(null) should return true", collection.add(null)); 83 collection.add(null); 95 * java.util.Collections#checkedCollection(java.util.Collection, Class)} can 111 * java.util.Collections#checkedCollection(java.util.Collection, Class)} can
|
/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) {
|
/libcore/luni/src/main/java/org/w3c/dom/ |
NameList.java | 17 * collection of parallel pairs of name and namespace values (which could be 18 * null values), without defining or constraining how this collection is 26 * Returns the <code>index</code>th name item in the collection. 27 * @param index Index into the collection. 35 * Returns the <code>index</code>th namespaceURI item in the collection. 36 * @param index Index into the collection.
|
/libcore/luni/src/main/java/java/util/concurrent/ |
CopyOnWriteArraySet.java | 58 * @param <E> the type of elements held in this collection 75 * collection. 77 * @param c the collection of elements to initially contain 78 * @throws NullPointerException if the specified collection is null 80 public CopyOnWriteArraySet(Collection<? extends E> c) { 127 * <p>This method acts as bridge between array-based and collection-based 155 * array-based and collection-based APIs. Further, this method allows 223 * specified collection. If the specified collection is also a set, this 226 * @param c collection to be checked for containment in this se [all...] |
/external/srec/srec/AcousticModels/include/ |
SR_AcousticModels.h | 40 * Acoustic model collection. 46 * Acoustic model collection. 51 * Destroys an AcousticModel collection. 57 * Saves an AcousticModel collection to file. 83 * Returns the number of AcousticModels in the collection. 93 * @param index Index of model within collection (0-based) 103 * @param index Index of model within collection (0-based) 124 * Destroys an AcousticModel collection. 130 * Loads an AcousticModel collection from file. 138 * Saves an AcousticModel collection to file [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTestCase.java | 18 import java.util.Collection; 232 * Asserts that the length of the collection is the expected size. 238 * @param collection 239 * collection 244 NodeList collection) { 245 framework.assertSize(this, assertID, expectedSize, collection); 249 * Asserts that the length of the collection is the expected size. 255 * @param collection 256 * collection 261 NamedNodeMap collection) { [all...] |
/external/chromium_org/content/test/data/accessibility/ |
aria-level-expected-android.txt | 4 android.view.View collection hierarchical row_count=2 9 android.widget.GridView collection row_count=2 column_count=1
|
aria-combobox-expected-android.txt | 5 android.widget.ListView collection item_count=2 row_count=2
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
TestCollectionGenerator.java | 19 import java.util.Collection; 29 extends TestContainerGenerator<Collection<E>, E> {
|
WrongType.java | 20 * A type which will never be used as the element type of any collection in our 21 * tests, and so can be used to test how a Collection behaves when given input
|
/external/junit/src/org/junit/experimental/theories/internal/ |
ParameterizedAssertionError.java | 7 import java.util.Collection; 29 Collection<Object> values) {
|
/external/mockito/src/org/mockito/internal/configuration/injection/filter/ |
NameBasedCandidateFilter.java | 11 import java.util.Collection;
22 public OngoingInjecter filterCandidate(Collection<Object> mocks, Field field, Object fieldInstance) {
|
TypeBasedCandidateFilter.java | 9 import java.util.Collection;
20 public OngoingInjecter filterCandidate(Collection<Object> mocks, Field field, Object fieldInstance) {
|
/external/mockito/src/org/mockito/internal/util/collections/ |
HashCodeAndEqualsSafeSet.java | 10 import java.util.Collection; 26 * This collection wraps the mock in an augmented type {@link HashCodeAndEqualsMockWrapper} 115 public boolean removeAll(Collection<?> mocks) { 119 public boolean containsAll(Collection<?> mocks) { 123 public boolean addAll(Collection<?> mocks) { 127 public boolean retainAll(Collection<?> mocks) { 131 private HashSet<HashCodeAndEqualsMockWrapper> asWrappedMocks(Collection<?> mocks) { 132 Checks.checkNotNull(mocks, "Passed collection should notify() be null");
|
/external/oprofile/libpp/ |
diff_container.h | 23 /// populate the collection of diffed symbols 29 /// return a collection of diffed symbols
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
LinkedHashMultimap.java | 24 import java.util.Collection; 79 transient Collection<Map.Entry<K, V>> linkedEntries; 118 super(new LinkedHashMap<K, Collection<V>>()); 123 super(new LinkedHashMap<K, Collection<V>>(expectedKeys)); 132 super(new LinkedHashMap<K, Collection<V>>( 142 * <p>Creates an empty {@code LinkedHashSet} for a collection of values for 145 * @return a new {@code LinkedHashSet} containing a collection of values for 158 * @param key key to associate with values in the collection 159 * @return a new decorated {@code LinkedHashSet} containing a collection of 162 @Override Collection<V> createCollection(@Nullable K key) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
PKIXAttrCertChecker.java | 5 import java.util.Collection; 34 * collection. 41 * @param unresolvedCritExts a <code>Collection</code> of OID strings 47 CertPath holderCertPath, Collection unresolvedCritExts)
|
/external/chromium_org/chrome/installer/util/ |
app_commands.h | 25 // A collection of AppCommand objects. 51 // Sets a command in the collection, adding it if it doesn't already exist. 56 // Removes a command from the collection. Returns false if |command_id| was 61 // collection.
|
/external/chromium_org/content/shell/renderer/ |
gc_extension.h | 15 // garbage collection. This should only be used for debugging.
|