HomeSort by relevance Sort by last modified time
    Searched refs:putAll (Results 1 - 25 of 329) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
MapPutAllTester.java 37 * A generic JUnit test which tests {@code putAll} operations on a map. Can't be
59 getMap().putAll(emptyMap());
66 getMap().putAll(emptyMap());
74 putAll(createDisjointCollection());
81 putAll(createDisjointCollection());
82 fail("putAll(nonePresent) should throw");
92 putAll(MinimalCollection.of(samples.e3, samples.e0));
100 putAll(MinimalCollection.of(samples.e3, samples.e0));
101 fail("putAll(somePresent) should throw");
111 putAll(MinimalCollection.of(samples.e0))
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
LinkedHashMultimapTest.java 157 multimap.putAll(initializeMultimap5());
214 multimap.putAll("foo", asList(2, 3, 4));
215 multimap.putAll("bar", asList(5, 6));
216 multimap.putAll("foo", asList(7, 8));
242 multimap.putAll("foo", asList(2, 3));
243 multimap.putAll("bar", asList(4, 5));
244 multimap.putAll("foo", asList(6));
262 multimap.putAll("foo", asList(2, 3));
263 multimap.putAll("bar", asList(4, 5));
264 multimap.putAll("foo", asList(6))
    [all...]
AbstractSetMultimapTest.java 137 assertTrue(multimap.putAll("foo", asList(1, 2, 3)));
139 assertFalse(multimap.putAll("foo", asList(1, 2, 3)));
140 assertFalse(multimap.putAll("foo", asList(1, 3)));
141 assertTrue(multimap.putAll("foo", asList(1, 2, 4)));
144 other.putAll("foo", asList(1, 2));
145 assertFalse(multimap.putAll(other));
147 other.putAll("bar", asList(1, 2));
148 assertTrue(multimap.putAll(other));
149 assertTrue(other.putAll(multimap));
ImmutableListMultimapTest.java 90 builder.putAll("foo", Arrays.asList(1, 2, 3));
91 builder.putAll("bar", Arrays.asList(4, 5));
92 builder.putAll("foo", Arrays.asList(6, 7));
102 builder.putAll("foo", 1, 2, 3);
103 builder.putAll("bar", 4, 5);
104 builder.putAll("foo", 6, 7);
123 builder.putAll(toPut);
124 builder.putAll(moreToPut);
134 builder.putAll("foo", 1, 2, 3);
135 builder.putAll("bar", 4, 5)
    [all...]
AbstractListMultimapTest.java 73 assertTrue(multimap.putAll("foo", asList(1, 2, 3)));
75 assertTrue(multimap.putAll("foo", asList(1, 2, 3)));
76 assertTrue(multimap.putAll("foo", asList(1, 3)));
79 other.putAll("foo", asList(1, 2));
80 assertTrue(multimap.putAll(other));
82 other.putAll("bar", asList(1, 2));
83 assertTrue(multimap.putAll(other));
84 assertTrue(other.putAll(multimap));
297 multimap.putAll("foo", asList(1, 2, 3, 4, 5));
312 multimap.putAll("foo", asList(1, 2, 3, 4, 5))
    [all...]
ImmutableSetMultimapTest.java 90 builder.putAll("foo", Arrays.asList(1, 2, 3));
91 builder.putAll("bar", Arrays.asList(4, 5));
92 builder.putAll("foo", Arrays.asList(6, 7));
102 builder.putAll("foo", 1, 2, 3);
103 builder.putAll("bar", 4, 5);
104 builder.putAll("foo", 6, 7);
123 builder.putAll(toPut);
124 builder.putAll(moreToPut);
134 builder.putAll("foo", 1, 2, 3);
135 builder.putAll("bar", 4, 5)
    [all...]
LinkedListMultimapTest.java 173 dst.putAll(src);
350 multimap.putAll("foo", asList(2, 3));
351 multimap.putAll("bar", asList(4, 5));
371 multimap.putAll("foo", asList(2, 3));
372 multimap.putAll("bar", asList(4, 5));
373 multimap.putAll("foo", asList(6));
396 multimap.putAll("foo", Arrays.asList(3, 4));
418 multimap.putAll("foo", asList(2, 3));
419 multimap.putAll("bar", asList(4, 5));
420 multimap.putAll("foo", asList(6))
    [all...]
SynchronizedMultimapTest.java 104 @Override public boolean putAll(@Nullable K key,
107 return super.putAll(key, values);
110 @Override public boolean putAll(Multimap<? extends K, ? extends V> map) {
112 return super.putAll(map);
174 multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1));
175 multimap.putAll("bar", Arrays.asList(1, 2, 3, 1));
187 multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1));
188 multimap.putAll("bar", Arrays.asList(1, 2, 3, 1));
TreeMultimapNaturalTest.java 310 multimap.putAll("foo", asList(3, 8, 4));
311 multimap.putAll("bar", asList(5, 6));
312 multimap.putAll("foo", asList(7, 2));
337 multimap.putAll("foo", asList(6, 3));
338 multimap.putAll("bar", asList(4, 5));
339 multimap.putAll("foo", asList(2));
357 multimap.putAll("foo", asList(2, 3));
358 multimap.putAll("bar", asList(4, 5));
359 multimap.putAll("foo", asList(6));
377 multimap.putAll("foo", asList(2, 3))
    [all...]
WellBehavedMapTest.java 36 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3));
52 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3));
64 map.putAll(ImmutableMap.of(Foo.X, 1));
91 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3));
MapConstraintsTest.java 107 map.putAll(ImmutableMap.of("bar", 2));
108 constrained.putAll(ImmutableMap.of("baz", 3));
142 constrained.putAll(ImmutableMap.of("baz", 3, TEST_KEY, 4));
157 map.putAll(ImmutableMap.of("bar", 2));
158 constrained.putAll(ImmutableMap.of("baz", 3));
192 constrained.putAll(ImmutableMap.of("baz", 3, TEST_KEY, 4));
221 multimap.putAll("zag", Arrays.asList(6));
222 constrained.putAll("bee", Arrays.asList(7));
223 multimap.putAll(new ImmutableMultimap.Builder<String, Integer>()
225 constrained.putAll(new ImmutableMultimap.Builder<String, Integer>(
    [all...]
  /external/guava/guava/src/com/google/common/collect/
BiMap.java 81 void putAll(Map<? extends K, ? extends V> map);
ForwardingMultimap.java 102 public boolean putAll(K key, Iterable<? extends V> values) {
103 return delegate().putAll(key, values);
107 public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
108 return delegate().putAll(multimap);
Multimap.java 128 boolean putAll(@Nullable K key, Iterable<? extends V> values);
138 boolean putAll(Multimap<? extends K, ? extends V> multimap);
227 * on its entries, {@code put}, or {@code putAll}.
ImmutableListMultimap.java 145 * .putAll("several", 1, 2, 3)
146 * .putAll("many", 1, 2, 3, 4, 5)
179 @Override public Builder<K, V> putAll(K key, Iterable<? extends V> values) {
180 super.putAll(key, values);
184 @Override public Builder<K, V> putAll(K key, V... values) {
185 super.putAll(key, values);
189 @Override public Builder<K, V> putAll(
191 super.putAll(multimap);
ForwardingTable.java 105 public void putAll(Table<? extends R, ? extends C, ? extends V> table) {
106 delegate().putAll(table);
ImmutableClassToInstanceMap.java 78 public <T extends B> Builder<B> putAll(
125 return new Builder<B>().putAll(map).build();
ImmutableMultimap.java 141 putAll(multimap);
157 * .putAll("several", 1, 2, 3)
158 * .putAll("many", 1, 2, 3, 4, 5)
203 public Builder<K, V> putAll(K key, Iterable<? extends V> values) {
217 public Builder<K, V> putAll(K key, V... values) {
218 return putAll(key, Arrays.asList(values));
230 public Builder<K, V> putAll(Multimap<? extends K, ? extends V> multimap) {
233 putAll(entry.getKey(), entry.getValue());
390 public boolean putAll(K key, Iterable<? extends V> values) {
400 public boolean putAll(Multimap<? extends K, ? extends V> multimap)
    [all...]
  /frameworks/volley/tests/src/com/android/volley/mock/
MockHttpStack.java 60 mLastHeaders.putAll(request.getHeaders());
63 mLastHeaders.putAll(additionalHeaders);
  /external/guava/guava-gwt/src/com/google/common/collect/
HashBasedTable_CustomFieldSerializer.java 43 table.row(row.getKey()).putAll((Map<?, ?>) row.getValue());
  /libcore/luni/src/main/java/java/util/
Map.java 211 public void putAll(Map<? extends K,? extends V> map);
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
LruCache.java 91 public synchronized void putAll(Map<? extends K, ? extends V> m) {
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
AttributesTest.java 138 * @tests java.util.jar.Attributes#putAll(java.util.Map)
146 a.putAll(b);
154 atts2.putAll(atts);
158 atts.putAll(Collections.EMPTY_MAP);
166 * @tests java.util.jar.Attributes#putAll(java.util.Map)
171 new Attributes().putAll((Map) null);
175 // verify that special care for null is done in the Attributes.putAll()
180 public void putAll(Map<?, ?> attrib) {
181 map.putAll(attrib);
183 }.putAll((Map<?, ?>) null)
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableListMultimap.java 140 * .putAll("several", 1, 2, 3)
141 * .putAll("many", 1, 2, 3, 4, 5)
174 @Override public Builder<K, V> putAll(K key, Iterable<? extends V> values) {
175 super.putAll(key, values);
179 @Override public Builder<K, V> putAll(K key, V... values) {
180 super.putAll(key, values);
184 @Override public Builder<K, V> putAll(
186 super.putAll(multimap);
ImmutableMultimap.java 140 putAll(multimap);
156 * .putAll("several", 1, 2, 3)
157 * .putAll("many", 1, 2, 3, 4, 5)
202 public Builder<K, V> putAll(K key, Iterable<? extends V> values) {
216 public Builder<K, V> putAll(K key, V... values) {
217 return putAll(key, Arrays.asList(values));
229 public Builder<K, V> putAll(Multimap<? extends K, ? extends V> multimap) {
232 putAll(entry.getKey(), entry.getValue());
380 public boolean putAll(K key, Iterable<? extends V> values) {
390 public boolean putAll(Multimap<? extends K, ? extends V> multimap)
    [all...]

Completed in 1394 milliseconds

1 2 3 4 5 6 7 8 91011>>