HomeSort by relevance Sort by last modified time
    Searched refs:Collection (Results 101 - 125 of 1145) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/guava/guava-tests/test/com/google/common/collect/
SubMapMultimapAsMapImplementsMapTest.java 22 import java.util.Collection;
49 @Override protected Map<String, Collection<Integer>> makeEmptyMap() {
53 @Override protected Map<String, Collection<Integer>> makePopulatedMap() {
66 @Override protected Collection<Integer> getValueNotInPopulatedMap() {
AbstractCollectionTest.java 28 import java.util.Collection;
32 * Common tests for a {@code Collection}.
40 protected abstract <E> Collection<E> create();
42 protected Collection<String> c;
133 Collection<String> c2 = create();
144 Collection<String> c2 = create();
164 Collection<String> c2 = create();
179 Collection<String> c2 = create();
185 Collection<String> c3 = create();
211 protected Collection<String> createSample()
    [all...]
AbstractSetMultimapTest.java 23 import java.util.Collection;
62 Map<String, Collection<Integer>> map = multimap.asMap();
64 Map<String, Collection<Integer>> equalMap = Maps.newHashMap();
71 Map<String, Collection<Integer>> unequalMap = Maps.newHashMap();
82 Set<Map.Entry<String, Collection<Integer>>> set
85 Iterator<Map.Entry<String, Collection<Integer>>> i = set.iterator();
86 Map.Entry<String, Collection<Integer>> expected =
88 "foo", (Collection<Integer>) ImmutableSet.of(1, 3));
89 Map.Entry<String, Collection<Integer>> entry = i.next();
106 Collection<Collection<Integer>> asMapValues = multimap.asMap().values()
    [all...]
  /external/hamcrest/library/src/org/hamcrest/collection/
IsIn.java 1 package org.hamcrest.collection;
4 import java.util.Collection;
12 private final Collection<T> collection; field in class:IsIn
14 public IsIn(Collection<T> collection) {
15 this.collection = collection;
19 collection = Arrays.asList(elements);
23 return collection.contains(o)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ConcurrentModificationExceptionTest.java 20 import java.util.Collection;
29 Collection col;
33 public CollectionModifier(Collection c) {
55 Collection myCollection = new LinkedList();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
CyclicDependencyValidator.java 25 import java.util.Collection;
29 private final Collection<String> mInvalidIds;
31 private CyclicDependencyValidator(Collection<String> invalid) {
61 final Collection<String> invalid =
  /external/guava/guava/src/com/google/common/collect/
ForwardingMultimap.java 21 import java.util.Collection;
47 public Map<K, Collection<V>> asMap() {
72 public Collection<Entry<K, V>> entries() {
77 public Collection<V> get(@Nullable K key) {
117 public Collection<V> removeAll(@Nullable Object key) {
122 public Collection<V> replaceValues(K key, Iterable<? extends V> values) {
132 public Collection<V> values() {
Synchronized.java 28 import java.util.Collection;
42 * Synchronized collection views. The returned synchronized collection views are
43 * serializable if the backing collection and the mutex are serializable.
49 * <p>This class should be used by other collection classes only.
95 private static <E> Collection<E> collection( method in class:Synchronized
96 Collection<E> collection, @Nullable Object mutex) {
97 return new SynchronizedCollection<E>(collection, mutex)
    [all...]
Constraints.java 24 import java.util.Collection;
69 * Returns a constrained view of the specified collection, using the specified
70 * constraint. Any operations that add new elements to the collection will
74 * <p>The returned collection is not serializable.
76 * @param collection the collection to constrain
78 * @return a constrained view of the collection
80 public static <E> Collection<E> constrainedCollection(
81 Collection<E> collection, Constraint<? super E> constraint)
    [all...]
ListMultimap.java 21 import java.util.Collection;
45 * {@link java.util.Collection} specified in the {@link Multimap} interface.
55 * {@link java.util.Collection} specified in the {@link Multimap} interface.
65 * {@link java.util.Collection} specified in the {@link Multimap} interface.
77 Map<K, Collection<V>> asMap();
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableCollection.java 21 import java.util.Collection;
36 implements Collection<E>, Serializable {
79 public boolean containsAll(Collection<?> targets) {
100 public final boolean addAll(Collection<? extends E> newElements) {
104 public final boolean removeAll(Collection<?> oldElements) {
108 public final boolean retainAll(Collection<?> elementsToKeep) {
135 static <E> ImmutableCollection<E> unsafeDelegate(Collection<E> delegate) {
Synchronized.java 25 import java.util.Collection;
39 * Synchronized collection views. The returned synchronized collection views are
40 * serializable if the backing collection and the mutex are serializable.
46 * <p>This class should be used by other collection classes only.
82 private static <E> Collection<E> collection( method in class:Synchronized
83 Collection<E> collection, @Nullable Object mutex) {
84 return new SynchronizedCollection<E>(collection, mutex)
    [all...]
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/guava/guava-testlib/src/com/google/common/collect/testing/
MinimalCollection.java 21 import java.util.Collection;
25 * A simplistic collection which implements only the bare minimum allowed by the
78 @Override public boolean containsAll(Collection<?> collection) {
80 for (Object object : collection) {
87 return super.containsAll(collection);
101 * a "type A" unmodifiable collection freaks out proactively, even if there
105 @Override public boolean addAll(Collection<? extends E> elementsToAdd) {
108 @Override public boolean removeAll(Collection<?> elementsToRemove) {
111 @Override public boolean retainAll(Collection<?> elementsToRetain)
    [all...]
AbstractContainerTester.java 21 import java.util.Collection;
26 * Base class for testers of classes (including {@link Collection}
51 protected abstract Collection<E> actualContents();
82 * @see #expectContents(java.util.Collection)
91 * Asserts that the collection under test contains exactly the given elements,
108 protected void expectContents(Collection<E> expected) {
117 * Asserts that the collection under test contains exactly the elements it was
119 * {@link #expectContents(java.util.Collection)}. In other words, for the
121 * of each given element has increased by one since the test collection was
126 * {@code collection} is a {@code Set}
    [all...]
  /frameworks/support/v4/java/android/support/v4/util/
ArrayMap.java 19 import java.util.Collection;
124 * Determine if the array map contains all of the keys in the given collection.
125 * @param collection The collection whose contents are to be checked against.
127 * in <var>collection</var>, else returns false.
129 public boolean containsAll(Collection<?> collection) {
130 return MapCollections.containsAllHelper(this, collection);
146 * Remove all keys in the array map that exist in the given collection.
147 * @param collection The collection whose contents are to be used to remove keys
    [all...]
  /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/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
ClassSection.java 43 import java.util.Collection;
49 @Nonnull Collection<? extends ClassKey> getSortedClasses();
58 @Nullable Collection<? extends EncodedValue> getStaticInitializers(@Nonnull ClassKey key);
60 @Nonnull Collection<? extends FieldKey> getSortedStaticFields(@Nonnull ClassKey key);
61 @Nonnull Collection<? extends FieldKey> getSortedInstanceFields(@Nonnull ClassKey key);
62 @Nonnull Collection<? extends FieldKey> getSortedFields(@Nonnull ClassKey key);
63 @Nonnull Collection<? extends MethodKey> getSortedDirectMethods(@Nonnull ClassKey key);
64 @Nonnull Collection<? extends MethodKey> getSortedVirtualMethods(@Nonnull ClassKey key);
65 @Nonnull Collection<? extends MethodKey> getSortedMethods(@Nonnull ClassKey key);
  /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) {
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
ApiCoverage.java 20 import java.util.Collection;
38 public Collection<ApiPackage> getPackages() {
  /cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
TestCase.java 19 import java.util.Collection;
41 public Collection<Test> getTests() {
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
ITestPackageDef.java 24 import java.util.Collection;
71 * Get the collection of tests in this test package.
73 public Collection<TestIdentifier> getTests();
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
TestPackageResultTest.java 22 import java.util.Collection;
41 Collection<TestIdentifier> tests = pkgResult.getTestsWithStatus(
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
TestFilterTest.java 23 import java.util.Collection;
49 * Test {@link TestFilter#filter(java.util.Collection)} with no rules defined
56 * Test {@link TestFilter#filter(java.util.Collection)} with an excluded test filter
60 Collection<TestIdentifier> filteredList = mFilter.filter(mTestList);
68 * Test {@link TestFilter#filter(java.util.Collection)} with an excluded test filter
72 Collection<TestIdentifier> filteredList = mFilter.filter(mTestList);
78 * Test {@link TestFilter#filter(java.util.Collection)} with a class inclusion rule
82 Collection<TestIdentifier> filteredList = mFilter.filter(mTestList);
90 * Test {@link TestFilter#filter(java.util.Collection)} with a class
94 Collection<TestIdentifier> filteredList = mFilter.filter(mTestList)
    [all...]
  /external/apache-http/src/org/apache/http/impl/cookie/
AbstractCookieSpec.java 34 import java.util.Collection;
106 protected Collection<CookieAttributeHandler> getAttribHandlers() {

Completed in 757 milliseconds

1 2 3 45 6 7 8 91011>>