/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Iterables.java | 29 import java.util.Collection; 106 return (iterable instanceof Collection) 107 ? ((Collection<?>) iterable).size() 116 if (iterable instanceof Collection) { 117 Collection<?> collection = (Collection<?>) iterable; local 118 return Collections2.safeContains(collection, element); 125 * collection. 127 * <p>This method calls {@link Collection#removeAll} if {@code iterable} is [all...] |
ImmutableSetMultimap.java | 25 import java.util.Collection; 151 super(new LinkedHashMap<K, Collection<V>>()); 153 @Override Collection<V> createCollection() { 208 Collection<V> collection = builderMultimap.get(checkNotNull(key)); local 210 collection.add(checkNotNull(value)); 221 for (Entry<? extends K, ? extends Collection<? extends V>> entry 263 List<Map.Entry<K, Collection<V>>> entries = Lists.newArrayList( 268 for (Map.Entry<K, Collection<V>> entry : entries) { 316 for (Entry<? extends K, ? extends Collection<? extends V>> entr [all...] |
Sets.java | 29 import java.util.Collection; 69 public boolean removeAll(Collection<?> c) { 74 public boolean retainAll(Collection<?> c) { 102 * order, not the order in which the elements appear in the given collection. 114 } else if (elements instanceof Collection) { 115 Collection<E> collection = (Collection<E>) elements; local 116 if (collection.isEmpty()) { 119 return ImmutableEnumSet.asImmutable(EnumSet.copyOf(collection)); [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
CollectionAddAllTester.java | 37 * A generic JUnit test which tests addAll operations on a collection. Can't be 50 collection.addAll(emptyCollection())); 58 collection.addAll(emptyCollection())); 67 collection.addAll(createDisjointCollection())); 74 collection.addAll(createDisjointCollection()); 86 collection.addAll(MinimalCollection.of(samples.e3, samples.e0))); 87 assertTrue("should contain " + samples.e3, collection.contains(samples.e3)); 88 assertTrue("should contain " + samples.e0, collection.contains(samples.e0)); 95 collection.addAll(MinimalCollection.of(samples.e3, samples.e0)); 107 Iterator<E> iterator = collection.iterator() [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultimapAsMapTester.java | 35 import java.util.Collection; 57 Collection<V> collection = multimap().asMap().get(key); local 59 assertThat(collection).isNull(); 61 assertThat(collection).has().exactlyAs(expectedValues); 101 Set<Entry<K, Collection<V>>> asMapEntrySet = multimap().asMap().entrySet(); 102 Collection<V> valueCollection = Iterables.getOnlyElement(asMapEntrySet).getValue(); 117 Set<Entry<K, Collection<V>>> asMapEntrySet = multimap().asMap().entrySet(); 128 Set<Entry<K, Collection<V>>> asMapEntrySet = multimap().asMap().entrySet(); 129 Entry<K, Collection<V>> asMapEntry0 = Iterables.getOnlyElement(asMapEntrySet) [all...] |
MultimapRemoveEntryTester.java | 34 import java.util.Collection; 128 Collection<V> collection = multimap().get(key); local 129 assertNotNull(collection); 130 Collection<V> expectedCollection = Helpers.copyToList(collection); 135 assertThat(collection).has().exactlyAs(expectedCollection); 149 Collection<V> collection = multimap().asMap().get(key); local 150 assertNotNull(collection); 172 Collection<V> collection = null; local [all...] |
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...] |
MultimapPutTester.java | 33 import java.util.Collection; 139 Collection<V> collection = multimap().get(sampleKeys().e3); local 140 assertThat(collection).isEmpty(); 142 assertThat(collection).has().item(sampleValues().e3); 148 Collection<Entry<K, V>> entries = multimap().entries(); 157 Collection<Entry<K, V>> entries = multimap().entries(); 172 Collection<V> collection = multimap().get(key); local 173 Collection<V> expectedCollection = Helpers.copyToList(collection) 191 Collection<V> collection = multimap().asMap().get(key); local 212 Collection<V> collection = null; local [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
CollectionAddAllTester.java | 40 * A generic JUnit test which tests addAll operations on a collection. Can't be 53 collection.addAll(emptyCollection())); 61 collection.addAll(emptyCollection())); 70 collection.addAll(createDisjointCollection())); 77 collection.addAll(createDisjointCollection()); 89 collection.addAll(MinimalCollection.of(samples.e3, samples.e0))); 90 assertTrue("should contain " + samples.e3, collection.contains(samples.e3)); 91 assertTrue("should contain " + samples.e0, collection.contains(samples.e0)); 98 collection.addAll(MinimalCollection.of(samples.e3, samples.e0)); 110 Iterator<E> iterator = collection.iterator() [all...] |
/external/libcups/cups/ |
encode.c | 380 ipp_t *collection; /* Collection value */ local 381 int num_cols; /* Number of collection values */ 382 cups_option_t *cols; /* Collection values */ 747 * Collection value 751 if ((collection = ippNew()) == NULL) 762 attr->values[j].collection = collection; 763 cupsEncodeOptions2(collection, num_cols, cols, IPP_TAG_JOB);
|
testipp.c | 48 static ipp_uchar_t collection[] = /* Collection buffer */ variable 246 *size; /* media-size collection */ 312 if (length != sizeof(collection)) 315 (int)length, (int)sizeof(collection)); 341 else if (data.wused != sizeof(collection)) 344 (int)sizeof(collection)); 346 hex_dump("Baseline", collection, sizeof(collection)); 349 else if (memcmp(data.wbuffer, collection, data.wused) [all...] |
/frameworks/base/libs/hwui/hwui/ |
Typeface.cpp | 100 // None of passed axes are supported by this collection. 101 // So we will reuse the same collection with incrementing reference count. 188 std::shared_ptr<minikin::FontCollection> collection = std::make_shared<minikin::FontCollection>( local 192 hwTypeface->fFontCollection = collection;
|
/frameworks/base/tools/aapt2/io/ |
ZipArchive.cpp | 73 ZipFileCollection* collection) 74 : current_(collection->files_.begin()), end_(collection->files_.end()) {} 92 std::unique_ptr<ZipFileCollection> collection = local 95 int32_t result = OpenArchive(path.data(), &collection->handle_); 101 return collection; 109 result = StartIteration(collection->handle_, &cookie, nullptr, nullptr); 126 util::make_unique<ZipFile>(collection->handle_, zip_data, Source(nested_path)); 127 collection->files_by_name_[zip_entry_path] = file.get(); 128 collection->files_.push_back(std::move(file)) [all...] |
/frameworks/support/collection/src/main/java/androidx/collection/ |
CircularArray.java | 16 package androidx.collection;
|
CircularIntArray.java | 16 package androidx.collection;
|
LongSparseArray.java | 17 package androidx.collection; 39 * a single garbage collection step of all removed entries. This garbage collection will
|
LruCache.java | 17 package androidx.collection;
|
/frameworks/support/collection/src/test/java/androidx/collection/ |
ArrayMapCompatTest.java | 16 package androidx.collection;
|
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/ |
SliceManagerTest.java | 50 import java.util.Collection; 185 Collection<Uri> collection = Arrays.asList( local 191 .thenReturn(collection); 193 Collection<Uri> allUris = mManager.getSliceDescendants(uri); 195 assertEquals(allUris, collection); 249 public Collection<Uri> onGetSliceDescendants(Uri uri) {
|
/prebuilts/tools/common/m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/ |
maven-common-artifact-filters-1.4.jar | |
/prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.1/ |
hamcrest-library-1.1.jar | |
/prebuilts/sdk/current/support/m2repository/com/android/support/collections/28.0.0/ |
collections-28.0.0.jar | |
/art/dexlayout/ |
compact_dex_writer.cc | 410 dex_ir::Collections& collection = header_->GetCollections(); local 472 collection.SetMapListOffset(data_stream->Tell()); 474 data_stream->Seek(collection.MapListOffset()); 481 const std::vector<uint8_t>& link_data = collection.LinkData();
|
/external/guava/guava/src/com/google/common/collect/ |
AbstractMultimap.java | 24 import java.util.Collection; 46 for (Collection<V> collection : asMap().values()) { 47 if (collection.contains(value)) { 57 Collection<V> collection = asMap().get(key); local 58 return collection != null && collection.contains(value); 63 Collection<V> collection = asMap().get(key) local [all...] |
Sets.java | 31 import java.util.Collection; 73 public boolean removeAll(Collection<?> c) { 78 public boolean retainAll(Collection<?> c) { 106 * order, not the order in which the elements appear in the given collection. 118 } else if (elements instanceof Collection) { 119 Collection<E> collection = (Collection<E>) elements; local 120 if (collection.isEmpty()) { 123 return ImmutableEnumSet.asImmutable(EnumSet.copyOf(collection)); [all...] |