/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
SetEqualsTester.java | 27 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);
|
MapEqualsTester.java | 28 import java.util.Collection; 61 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); 72 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); 85 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); 96 Collection<Map.Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1); 108 Collection<Map.Entry<K, V>> fewerEntries 115 Collection<Map.Entry<K, V>> moreEntries 127 Collection<? extends Map.Entry<? extends K, ? extends V>> entries) {
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/ |
IsIterableContainingInAnyOrder.java | 1 package org.hamcrest.collection; 9 import java.util.Collection; 15 private final Collection<Matcher<? super T>> matchers; 17 public IsIterableContainingInAnyOrder(Collection<Matcher<? super T>> matchers) { 41 private final Collection<Matcher<? super S>> matchers; 44 public Matching(Collection<Matcher<? super S>> matchers, Description mismatchDescription) { 136 * in the specified collection of matchers. For a positive match, the examined iterable 137 * must be of the same length as the specified collection of matchers. 140 * N.B. each matcher in the specified collection will only be used once during a given 150 public static <T> Matcher<Iterable<? extends T>> containsInAnyOrder(Collection<Matcher<? super T>> itemMatchers) [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
RequestHolder.java | 23 import java.util.Collection; 45 private final Collection<Long> mJpegSurfaceIds; 61 private final Collection<Long> mJpegSurfaceIds; 73 boolean repeating, Collection<Long> jpegSurfaceIds) { 162 int numPreviewTargets, Collection<Long> jpegSurfaceIds) { 209 * Returns a read-only collection of the surfaces targeted by the contained request. 211 public Collection<Surface> getHolderTargets() {
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardProperty.java | 22 import java.util.Collection; 65 private Map<String, Collection<String>> mParameterMap = 66 new HashMap<String, Collection<String>>(); 93 Collection<String> values; 150 public Map<String, Collection<String>> getParameterMap() { 154 public Collection<String> getParameters(String type) {
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
CopyOnWriteArraySet.java | 39 import java.util.Collection; 50 // fixed framework docs link to "Collection#optional" 114 * collection. 116 * @param c the collection of elements to initially contain 117 * @throws NullPointerException if the specified collection is null 119 public CopyOnWriteArraySet(Collection<? extends E> c) { 172 * <p>This method acts as bridge between array-based and collection-based 200 * array-based and collection-based APIs. Further, this method allows 267 * specified collection. If the specified collection is also a set, thi [all...] |
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
ComparableTester.java | 23 import java.util.Collection; 77 private void assertLess(int left, int right, Collection<T> leftGroup, 78 Collection<T> rightGroup) { 92 private void assertMore(int left, int right, Collection<T> leftGroup, 93 Collection<T> rightGroup) { 107 private void assertZero(Collection<T> group) {
|
ComparatorTester.java | 23 import java.util.Collection; 91 private void assertLess(int left, int right, Collection<T> leftGroup, 92 Collection<T> rightGroup) { 105 private void assertMore(int left, int right, Collection<T> leftGroup, 106 Collection<T> rightGroup) { 119 private void assertZero(Collection<T> group) {
|
/system/core/libprocinfo/include/procinfo/ |
process.h | 67 template <typename Collection> 68 auto GetProcessTidsFromProcPidFd(int fd, Collection* out) -> 69 typename std::enable_if<sizeof(typename Collection::value_type) >= sizeof(pid_t), bool>::type { 95 template <typename Collection> 96 auto GetProcessTids(pid_t pid, Collection* out) -> 97 typename std::enable_if<sizeof(typename Collection::value_type) >= sizeof(pid_t), bool>::type {
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
SliceSpliteratorTest.java | 30 import java.util.Collection; 44 Collection<T> source; 46 UnorderedContentAsserter(Collection<T> source) { 51 public void assertContents(Collection<T> actual, Collection<T> expected, boolean isOrdered) { 74 final Collection<Integer> source = IntStream.range(0, size).boxed().collect(toList()); 87 final Collection<Integer> source = IntStream.range(0, size).boxed().collect(toList()); 100 final Collection<Long> source = LongStream.range(0, size).boxed().collect(toList()); 113 final Collection<Double> source = LongStream.range(0, size).asDoubleStream().boxed().collect(toList()); 129 final Collection<Integer> source = IntStream.range(0, size).boxed().collect(toList()) [all...] |
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
Asn1ParameterObject.java | 20 import java.util.Collection; 36 public static Collection<Asn1Tag> getPossibleFirstTags() {
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
ApiCoverage.java | 20 import java.util.Collection; 38 public Collection<ApiPackage> getPackages() {
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/QemuBootOrderLib/ |
ExtraRootBusMap.c | 144 ORDERED_COLLECTION *Collection;
150 // Handles and Collection are temporary / helper variables, while in Map we
161 Collection = OrderedCollectionInit (RootBridgePathCompare,
163 if (Collection == NULL) {
189 // not the main one). In that case, link the device path into Collection.
195 Status = OrderedCollectionInsert (Collection, NULL, DevicePath);
218 Entry = OrderedCollectionMin (Collection);
249 for (Entry = OrderedCollectionMin (Collection); Entry != NULL;
252 OrderedCollectionDelete (Collection, Entry, NULL);
254 OrderedCollectionUninit (Collection);
[all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
AbstractCookieSpec.java | 34 import java.util.Collection; 111 protected Collection<CookieAttributeHandler> getAttribHandlers() {
|
/external/guava/guava/src/com/google/common/collect/ |
ForwardingSet.java | 23 import java.util.Collection; 75 protected boolean standardRemoveAll(Collection<?> collection) { 76 return Sets.removeAllImpl(this, checkNotNull(collection)); // for GWT
|
ListMultimap.java | 21 import java.util.Collection; 50 * {@link java.util.Collection} specified in the {@link Multimap} interface. 60 * {@link java.util.Collection} specified in the {@link Multimap} interface. 70 * {@link java.util.Collection} specified in the {@link Multimap} interface. 84 Map<K, Collection<V>> asMap();
|
SetMultimap.java | 21 import java.util.Collection; 60 * method returns a {@link Set}, instead of the {@link java.util.Collection} 70 * method returns a {@link Set}, instead of the {@link java.util.Collection} 80 * method returns a {@link Set}, instead of the {@link java.util.Collection} 92 * method returns a {@link Set}, instead of the {@link java.util.Collection} 106 Map<K, Collection<V>> asMap();
|
SortedSetMultimap.java | 21 import java.util.Collection; 55 * Returns a collection view of all values associated with a key. If no 56 * mappings in the multimap have the provided key, an empty collection is 59 * <p>Changes to the returned collection will update the underlying multimap, 64 * {@link java.util.Collection} specified in the {@link Multimap} interface. 74 * {@link java.util.Collection} specified in the {@link Multimap} interface. 80 * Stores a collection of values with the same key, replacing any existing 85 * {@link java.util.Collection} specified in the {@link Multimap} interface. 100 * live collection. When passed a key that is not present, however, {@code 101 * asMap().get(Object)} returns {@code null} instead of an empty collection [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
MinimalIterable.java | 22 import java.util.Collection; 37 * <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} 65 * The elements are copied out of the source collection at the time this 69 public static <E> MinimalIterable<E> from(final Collection<E> elements) {
|
TestUnhashableCollectionGenerator.java | 22 import java.util.Collection; 32 TestUnhashableCollectionGenerator<T extends Collection<UnhashableObject>> 50 * Creates a new collection containing the given elements; implement this
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
TestMultimapGenerator.java | 24 import java.util.Collection; 44 Collection<V> createCollection(Iterable<? extends V> values);
|
/external/guava/guava-testlib/test/com/google/common/collect/testing/ |
MinimalCollectionTest.java | 25 import java.util.Collection; 36 @Override public Collection<String> create(String[] elements) {
|
/external/guice/core/src/com/google/inject/ |
ConfigurationException.java | 25 import java.util.Collection; 55 public Collection<Message> getErrorMessages() {
|
ProvisionException.java | 25 import java.util.Collection; 55 public Collection<Message> getErrorMessages() {
|
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/ |
IsInTest.java | 1 package org.hamcrest.collection; 8 import java.util.Collection; 19 Collection<String> collection = Arrays.asList(elements); local 20 Matcher<String> isIn = new IsIn<String>(collection);
|