Searched refs:Collection (Results 151 - 175 of 407) sorted by relevance

1234567891011>>

/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DSafeTreeSet.java20 import java.util.Collection;
47 public SafeTreeSet(Collection<? extends E> collection) {
70 @Override public boolean addAll(Collection<? extends E> collection) {
98 @Override public boolean containsAll(Collection<?> c) {
159 @Override public boolean removeAll(Collection<?> c) {
163 @Override public boolean retainAll(Collection<?> c) {
H A DAbstractMapTester.java19 import java.util.Collection;
51 @Override protected Collection<Map.Entry<K, V>> actualContents() {
163 protected Collection<Map.Entry<K, V>> getSampleEntries(int howMany) {
167 protected Collection<Map.Entry<K, V>> getSampleEntries() {
189 @Override protected void expectContents(Collection<Entry<K, V>> expected) {
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingListTest.java28 import java.util.Collection;
57 @Override public boolean addAll(Collection<? extends T> collection) {
69 @Override public boolean containsAll(Collection<?> collection) {
77 @Override public boolean removeAll(Collection<?> collection) {
81 @Override public boolean retainAll(Collection<?> collection) {
98 int index, Collection<? extends T> elements) {
194 assertEquals("[addAll(Collection)]", getCalls());
199 assertEquals("[addAll(int,Collection)]", getCalls());
214 assertEquals("[containsAll(Collection)]", getCalls());
264 assertEquals("[removeAll(Collection)]", getCall
[all...]
H A DImmutableMultisetTest.java39 import java.util.Collection;
170 Collection<String> c = MinimalCollection.<String>of();
176 Collection<String> c = MinimalCollection.of("a");
182 Collection<String> c = MinimalCollection.of("a", "b", "a");
188 Collection<String> c = MinimalCollection.of("a", null, "b");
264 Collection<String> c = ImmutableMultiset.of();
269 Collection<String> c = ImmutableMultiset.of("a");
274 Collection<String> c = ImmutableMultiset.of("a", "b", "c");
348 builder.addAll((Collection<String>) null);
408 Collection<Strin
[all...]
H A DImmutableSortedMultisetTest.java37 import java.util.Collection;
179 Collection<String> c = MinimalCollection.<String>of();
185 Collection<String> c = MinimalCollection.of("a");
191 Collection<String> c = MinimalCollection.of("a", "b", "a");
197 Collection<String> c = MinimalCollection.of("a", null, "b");
274 Collection<String> c = ImmutableSortedMultiset.of();
279 Collection<String> c = ImmutableSortedMultiset.of("a");
284 Collection<String> c = ImmutableSortedMultiset.of("a", "b", "c");
342 builder.addAll((Collection<String>) null);
405 Collection<Strin
[all...]
H A DMapConstraintsTest.java32 import java.util.Collection;
257 Iterator<Collection<Integer>> iterator =
270 Map.Entry<String, Collection<Integer>> entry
283 Map.Entry<String, Collection<Integer>> entry
296 Map.Entry<String, Collection<Integer>> entry
309 Map.Entry<String, Collection<Integer>> entry
406 ((Collection<Integer>) constrained.asMap().values().toArray()[0])
429 new HashMap<String, Collection<Integer>>(), new QueueSupplier());
490 Map.Entry<String, Collection<Integer>> entry
491 = (Map.Entry<String, Collection<Intege
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/util/
H A DSafeArrayList.java96 public SafeArrayList(Class<E> elementType, Collection<? extends E> c) {
195 public boolean containsAll(Collection<?> c) {
199 public boolean addAll(Collection<? extends E> c) {
205 public boolean addAll(int index, Collection<? extends E> c) {
211 public boolean removeAll(Collection<?> c) {
217 public boolean retainAll(Collection<?> c) {
336 sb.append( e == this ? "(this Collection)" : e );
/external/guava/guava/src/com/google/common/collect/
H A DLinkedListMultimap.java38 import java.util.Collection;
81 * {@code List}, instead of the {@code Collection} specified by the {@link
665 @Override public boolean removeAll(Collection<?> c) {
668 @Override public boolean retainAll(Collection<?> c) {
690 @Override public boolean removeAll(Collection<?> c) {
767 @Override public boolean removeAll(Collection<?> c) {
771 @Override public boolean retainAll(Collection<?> c) {
839 * List}, instead of the {@link Collection} specified in the {@link
921 * List}, instead of the {@link Collection} specified in the {@link
996 private class AsMapEntries extends AbstractSet<Entry<K, Collection<
[all...]
H A DImmutableList.java28 import java.util.Collection;
209 * {@code elements} is a {@link Collection}, this method behaves exactly as
210 * {@link #copyOf(Collection)}; otherwise, it behaves exactly as {@code
217 return (elements instanceof Collection)
241 public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) {
277 Collection<? extends E> collection) {
288 // as specified by Collection.toArray().
349 public final boolean addAll(int index, Collection<? extends E> newElements) {
429 @Override public boolean containsAll(Collection<?> targets) {
584 if (elements instanceof Collection) {
[all...]
H A DImmutableSetMultimap.java30 import java.util.Collection;
150 super(new LinkedHashMap<K, Collection<V>>());
152 @Override Collection<V> createCollection() {
166 super(new TreeMap<K, Collection<V>>(keyComparator));
169 @Override Collection<V> createCollection() {
224 Collection<V> collection = builderMultimap.get(checkNotNull(key));
237 for (Entry<? extends K, ? extends Collection<? extends V>> entry
321 for (Entry<? extends K, ? extends Collection<? extends V>> entry
324 Collection<? extends V> values = entry.getValue();
H A DEmptyImmutableList.java25 import java.util.Collection;
136 @Override public boolean containsAll(Collection<?> targets) {
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DLinkedListMultimap.java34 import java.util.Collection;
77 * {@code List}, instead of the {@code Collection} specified by the {@link
661 @Override public boolean removeAll(Collection<?> c) {
664 @Override public boolean retainAll(Collection<?> c) {
686 @Override public boolean removeAll(Collection<?> c) {
763 @Override public boolean removeAll(Collection<?> c) {
767 @Override public boolean retainAll(Collection<?> c) {
835 * List}, instead of the {@link Collection} specified in the {@link
917 * List}, instead of the {@link Collection} specified in the {@link
992 private class AsMapEntries extends AbstractSet<Entry<K, Collection<
[all...]
H A DImmutableSetMultimap.java25 import java.util.Collection;
145 super(new LinkedHashMap<K, Collection<V>>());
147 @Override Collection<V> createCollection() {
161 super(new TreeMap<K, Collection<V>>(keyComparator));
164 @Override Collection<V> createCollection() {
219 Collection<V> collection = builderMultimap.get(checkNotNull(key));
232 for (Entry<? extends K, ? extends Collection<? extends V>> entry
316 for (Entry<? extends K, ? extends Collection<? extends V>> entry
319 Collection<? extends V> values = entry.getValue();
H A DImmutableSet.java22 import java.util.Collection;
108 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) {
204 if (elements instanceof Collection) {
205 Collection<?> collection = (Collection<?>) elements;
H A DAbstractBiMap.java26 import java.util.Collection;
181 @Override public boolean removeAll(Collection<?> keysToRemove) {
185 @Override public boolean retainAll(Collection<?> keysToRetain) {
356 @Override public boolean containsAll(Collection<?> c) {
359 @Override public boolean removeAll(Collection<?> c) {
362 @Override public boolean retainAll(Collection<?> c) {
/external/jmdns/src/javax/jmdns/impl/
H A DDNSCache.java9 import java.util.Collection;
110 public Collection<List<? extends DNSEntry>> values() {
347 public synchronized Collection<DNSEntry> allValues() {
363 public synchronized Collection<? extends DNSEntry> getDNSEntryList(String name) {
364 Collection<? extends DNSEntry> entryList = this._getDNSEntryList(name);
373 private Collection<? extends DNSEntry> _getDNSEntryList(String name) {
386 Collection<? extends DNSEntry> entryList = this._getDNSEntryList(dnsEntry.getKey());
409 Collection<? extends DNSEntry> entryList = this._getDNSEntryList(name);
429 public synchronized Collection<? extends DNSEntry> getDNSEntryList(String name, DNSRecordType type, DNSRecordClass recordClass) {
430 Collection<
[all...]
/external/chromium/base/
H A Dtracked_objects.h290 typedef std::vector<Snapshot> Collection; typedef in class:tracked_objects::DataCollector
304 Collection* collection();
320 Collection collection_;
401 void Sort(DataCollector::Collection* collection) const;
489 const DataCollector::Collection& match_array,
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DAbstractMessageLite.java37 import java.util.Collection;
309 final Collection<? super T> list) {
315 if (values instanceof Collection) {
317 Collection<T> collection = (Collection<T>) values;
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DAbstractSequentialListTest.java21 import java.util.Collection;
55 * @tests java.util.AbstractSequentialList#addAll(int, java.util.Collection)
63 Collection<String> c = Arrays.asList(someList);
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
H A DCollectionCertStoreParametersTest.java26 import java.util.Collection;
54 * with the default parameter values (an empty and immutable Collection)
65 * with the default parameter values (an empty and immutable Collection)
69 Collection c = cp.getCollection();
82 * Test #1 for <code>CollectionCertStoreParameters(Collection)</code>
93 * Test #2 for <code>CollectionCertStoreParameters(Collection)</code>
95 * Assertion: If the specified <code>Collection</code> contains an object
97 * will be ignored by the Collection <code>CertStore</code>.
101 // object passing Collection containing Object which is not
109 * Test #3 for <code>CollectionCertStoreParameters(Collection)</cod
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DPKIXCRLUtil.java8 import java.util.Collection;
92 * Return a Collection of all CRLs found in the X509Store's that are
101 * @return a Collection of all found {@link java.security.cert.X509CRL X509CRL} objects. May be
104 private final Collection findCRLs(X509CRLStoreSelector crlSelect,
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DStatistics.java21 import java.util.Collection;
61 Collection<? extends Item> items = list.items();
H A DStringIdsSection.java25 import java.util.Collection;
52 public Collection<? extends Item> items() {
H A DTypeIdsSection.java25 import java.util.Collection;
50 public Collection<? extends Item> items() {
/external/dexmaker/src/dx/java/com/android/dx/rop/annotation/
H A DAnnotations.java22 import java.util.Collection;
210 public Collection<Annotation> getAnnotations() {

Completed in 378 milliseconds

1234567891011>>