/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | MapPutAllTester.java | 59 getMap().putAll(emptyMap()); in testPutAll_supportedNothing() 66 getMap().putAll(emptyMap()); in testPutAll_unsupportedNothing() 74 putAll(createDisjointCollection()); in testPutAll_supportedNonePresent() 81 putAll(createDisjointCollection()); in testPutAll_unsupportedNonePresent() 92 putAll(MinimalCollection.of(samples.e3, samples.e0)); in testPutAll_supportedSomePresent() 100 putAll(MinimalCollection.of(samples.e3, samples.e0)); in testPutAll_unsupportedSomePresent() 111 putAll(MinimalCollection.of(samples.e0)); in testPutAll_unsupportedAllPresent() 120 putAll(containsNullKey); in testPutAll_nullKeySupported() 128 putAll(containsNullKey); in testAdd_nullKeyUnsupported() 141 putAll(containsNullValue); in testPutAll_nullValueSupported() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | LinkedHashMultimapTest.java | 157 multimap.putAll(initializeMultimap5()); in testPutMultimapOrdered() 214 multimap.putAll("foo", asList(2, 3, 4)); in testGetIteration() 215 multimap.putAll("bar", asList(5, 6)); in testGetIteration() 216 multimap.putAll("foo", asList(7, 8)); in testGetIteration() 242 multimap.putAll("foo", asList(2, 3)); in testEntriesIteration() 243 multimap.putAll("bar", asList(4, 5)); in testEntriesIteration() 244 multimap.putAll("foo", asList(6)); in testEntriesIteration() 262 multimap.putAll("foo", asList(2, 3)); in testKeysIteration() 263 multimap.putAll("bar", asList(4, 5)); in testKeysIteration() 264 multimap.putAll("foo", asList(6)); in testKeysIteration() [all …]
|
D | ImmutableListMultimapTest.java | 90 builder.putAll("foo", Arrays.asList(1, 2, 3)); in testBuilderPutAllIterable() 91 builder.putAll("bar", Arrays.asList(4, 5)); in testBuilderPutAllIterable() 92 builder.putAll("foo", Arrays.asList(6, 7)); in testBuilderPutAllIterable() 102 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllVarargs() 103 builder.putAll("bar", 4, 5); in testBuilderPutAllVarargs() 104 builder.putAll("foo", 6, 7); in testBuilderPutAllVarargs() 123 builder.putAll(toPut); in testBuilderPutAllMultimap() 124 builder.putAll(moreToPut); in testBuilderPutAllMultimap() 134 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllWithDuplicates() 135 builder.putAll("bar", 4, 5); in testBuilderPutAllWithDuplicates() [all …]
|
D | ImmutableSetMultimapTest.java | 90 builder.putAll("foo", Arrays.asList(1, 2, 3)); in testBuilderPutAllIterable() 91 builder.putAll("bar", Arrays.asList(4, 5)); in testBuilderPutAllIterable() 92 builder.putAll("foo", Arrays.asList(6, 7)); in testBuilderPutAllIterable() 102 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllVarargs() 103 builder.putAll("bar", 4, 5); in testBuilderPutAllVarargs() 104 builder.putAll("foo", 6, 7); in testBuilderPutAllVarargs() 123 builder.putAll(toPut); in testBuilderPutAllMultimap() 124 builder.putAll(moreToPut); in testBuilderPutAllMultimap() 134 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllWithDuplicates() 135 builder.putAll("bar", 4, 5); in testBuilderPutAllWithDuplicates() [all …]
|
D | AbstractListMultimapTest.java | 73 assertTrue(multimap.putAll("foo", asList(1, 2, 3))); in testPutAllReturn_existingElements() 75 assertTrue(multimap.putAll("foo", asList(1, 2, 3))); in testPutAllReturn_existingElements() 76 assertTrue(multimap.putAll("foo", asList(1, 3))); in testPutAllReturn_existingElements() 79 other.putAll("foo", asList(1, 2)); in testPutAllReturn_existingElements() 80 assertTrue(multimap.putAll(other)); in testPutAllReturn_existingElements() 82 other.putAll("bar", asList(1, 2)); in testPutAllReturn_existingElements() 83 assertTrue(multimap.putAll(other)); in testPutAllReturn_existingElements() 84 assertTrue(other.putAll(multimap)); in testPutAllReturn_existingElements() 297 multimap.putAll("foo", asList(1, 2, 3, 4, 5)); in testSublistSet() 312 multimap.putAll("foo", asList(1, 2, 3, 4, 5)); in testSublistRemove() [all …]
|
D | TreeMultimapNaturalTest.java | 310 multimap.putAll("foo", asList(3, 8, 4)); in testGetIteration() 311 multimap.putAll("bar", asList(5, 6)); in testGetIteration() 312 multimap.putAll("foo", asList(7, 2)); in testGetIteration() 337 multimap.putAll("foo", asList(6, 3)); in testEntriesIteration() 338 multimap.putAll("bar", asList(4, 5)); in testEntriesIteration() 339 multimap.putAll("foo", asList(2)); in testEntriesIteration() 357 multimap.putAll("foo", asList(2, 3)); in testKeysIteration() 358 multimap.putAll("bar", asList(4, 5)); in testKeysIteration() 359 multimap.putAll("foo", asList(6)); in testKeysIteration() 377 multimap.putAll("foo", asList(2, 3)); in testValuesIteration() [all …]
|
D | LinkedListMultimapTest.java | 173 dst.putAll(src); in testLinkedPutAllMultimap() 350 multimap.putAll("foo", asList(2, 3)); in testEntriesIteration() 351 multimap.putAll("bar", asList(4, 5)); in testEntriesIteration() 371 multimap.putAll("foo", asList(2, 3)); in testKeysIteration() 372 multimap.putAll("bar", asList(4, 5)); in testKeysIteration() 373 multimap.putAll("foo", asList(6)); in testKeysIteration() 396 multimap.putAll("foo", Arrays.asList(3, 4)); in testValuesIteration() 418 multimap.putAll("foo", asList(2, 3)); in testKeySetIteration() 419 multimap.putAll("bar", asList(4, 5)); in testKeySetIteration() 420 multimap.putAll("foo", asList(6)); in testKeySetIteration() [all …]
|
D | AbstractSetMultimapTest.java | 137 assertTrue(multimap.putAll("foo", asList(1, 2, 3))); in testPutAllReturn_existingElements() 139 assertFalse(multimap.putAll("foo", asList(1, 2, 3))); in testPutAllReturn_existingElements() 140 assertFalse(multimap.putAll("foo", asList(1, 3))); in testPutAllReturn_existingElements() 141 assertTrue(multimap.putAll("foo", asList(1, 2, 4))); in testPutAllReturn_existingElements() 144 other.putAll("foo", asList(1, 2)); in testPutAllReturn_existingElements() 145 assertFalse(multimap.putAll(other)); in testPutAllReturn_existingElements() 147 other.putAll("bar", asList(1, 2)); in testPutAllReturn_existingElements() 148 assertTrue(multimap.putAll(other)); in testPutAllReturn_existingElements() 149 assertTrue(other.putAll(multimap)); in testPutAllReturn_existingElements()
|
D | SynchronizedMultimapTest.java | 104 @Override public boolean putAll(@Nullable K key, in putAll() method in SynchronizedMultimapTest.TestMultimap 107 return super.putAll(key, values); in putAll() 110 @Override public boolean putAll(Multimap<? extends K, ? extends V> map) { in putAll() method in SynchronizedMultimapTest.TestMultimap 112 return super.putAll(map); in putAll() 174 multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1)); in testSynchronizedListMultimap() 175 multimap.putAll("bar", Arrays.asList(1, 2, 3, 1)); in testSynchronizedListMultimap() 187 multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1)); in testSynchronizedSortedSetMultimap() 188 multimap.putAll("bar", Arrays.asList(1, 2, 3, 1)); in testSynchronizedSortedSetMultimap()
|
D | MapConstraintsTest.java | 107 map.putAll(ImmutableMap.of("bar", 2)); in testConstrainedMapLegal() 108 constrained.putAll(ImmutableMap.of("baz", 3)); in testConstrainedMapLegal() 142 constrained.putAll(ImmutableMap.of("baz", 3, TEST_KEY, 4)); in testConstrainedMapIllegal() 157 map.putAll(ImmutableMap.of("bar", 2)); in testConstrainedBiMapLegal() 158 constrained.putAll(ImmutableMap.of("baz", 3)); in testConstrainedBiMapLegal() 192 constrained.putAll(ImmutableMap.of("baz", 3, TEST_KEY, 4)); in testConstrainedBiMapIllegal() 221 multimap.putAll("zag", Arrays.asList(6)); in testConstrainedMultimapLegal() 222 constrained.putAll("bee", Arrays.asList(7)); in testConstrainedMultimapLegal() 223 multimap.putAll(new ImmutableMultimap.Builder<String, Integer>() in testConstrainedMultimapLegal() 225 constrained.putAll(new ImmutableMultimap.Builder<String, Integer>() in testConstrainedMultimapLegal() [all …]
|
D | WellBehavedMapTest.java | 36 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3)); in testEntrySet_contain() 52 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3)); in testEntry_setValue() 64 map.putAll(ImmutableMap.of(Foo.X, 1)); in testEntriesAreMutableAndConsistent() 91 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3)); in testEntrySet_remove()
|
D | MultimapsTest.java | 415 multimapView.putAll("baz", Collections.singleton(3)); in testForMap() 419 multimapView.putAll(multimap); in testForMap() 559 multimap.putAll(Color.BLUE, asList(3, 1, 4)); in testNewMultimap() 561 multimap.putAll(Color.RED, asList(2, 7, 1, 8)); in testNewMultimap() 581 multimap.putAll(Color.BLUE, asList(3, 1, 4)); in testNewMultimapSerialization() 582 multimap.putAll(Color.RED, asList(2, 7, 1, 8)); in testNewMultimapSerialization() 600 multimap.putAll(Color.BLUE, asList(3, 1, 4, 1)); in testNewListMultimap() 602 multimap.putAll(Color.RED, asList(2, 7, 1, 8)); in testNewListMultimap() 616 multimap.putAll(Color.BLUE, asList(3, 1, 4, 1)); in testNewListMultimapSerialization() 617 multimap.putAll(Color.RED, asList(2, 7, 1, 8)); in testNewListMultimapSerialization() [all …]
|
D | AbstractMultimapTest.java | 54 sample.putAll("foo", asList(3, -1, 2, 4, 1)); in createSample() 55 sample.putAll("bar", asList(1, 2, 3, 1)); in createSample() 248 multimap.putAll("foo", iterable); in testPutAllIterable() 259 multimap.putAll("bar", emptyIterable); in testPutAllIterable() 266 multimap.putAll("foo", collection); in testPutAllCollection() 272 multimap.putAll("bar", emptyCollection); in testPutAllCollection() 279 multimap.putAll(nullKey(), collection); in testPutAllCollectionNull() 287 multimap.putAll("foo", collection); in testPutAllEmptyCollection() 300 multimap.putAll(multimap2); in testPutAllMultimap() 311 assertFalse(multimap.putAll("foo", new ArrayList<Integer>())); in testPutAllReturn_emptyCollection() [all …]
|
D | SynchronizedMapTest.java | 101 @Override public void putAll(Map<? extends K, ? extends V> map) { in putAll() method in SynchronizedMapTest.TestMap 103 super.putAll(map); in putAll() 179 create().putAll(new HashMap<String, Integer>()); in testPutAll()
|
/external/guava/guava/src/com/google/common/collect/ |
D | ForwardingMultimap.java | 102 public boolean putAll(K key, Iterable<? extends V> values) { in putAll() method in ForwardingMultimap 103 return delegate().putAll(key, values); in putAll() 107 public boolean putAll(Multimap<? extends K, ? extends V> multimap) { in putAll() method in ForwardingMultimap 108 return delegate().putAll(multimap); in putAll()
|
D | ImmutableMultimap.java | 141 putAll(multimap); in SortedKeyBuilderMultimap() 203 public Builder<K, V> putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableMultimap.Builder 217 public Builder<K, V> putAll(K key, V... values) { in putAll() method in ImmutableMultimap.Builder 218 return putAll(key, Arrays.asList(values)); in putAll() 230 public Builder<K, V> putAll(Multimap<? extends K, ? extends V> multimap) { in putAll() method in ImmutableMultimap.Builder 233 putAll(entry.getKey(), entry.getValue()); in putAll() 390 public boolean putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableMultimap 400 public boolean putAll(Multimap<? extends K, ? extends V> multimap) { in putAll() method in ImmutableMultimap
|
D | ImmutableListMultimap.java | 179 @Override public Builder<K, V> putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableListMultimap.Builder 180 super.putAll(key, values); in putAll() 184 @Override public Builder<K, V> putAll(K key, V... values) { in putAll() method in ImmutableListMultimap.Builder 185 super.putAll(key, values); in putAll() 189 @Override public Builder<K, V> putAll( in putAll() method in ImmutableListMultimap.Builder 191 super.putAll(multimap); in putAll()
|
D | Multimap.java | 128 boolean putAll(@Nullable K key, Iterable<? extends V> values); in putAll() method 138 boolean putAll(Multimap<? extends K, ? extends V> multimap); in putAll() method
|
D | ImmutableSetMultimap.java | 167 putAll(multimap); in SortedKeyBuilderMultimap() 223 @Override public Builder<K, V> putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableSetMultimap.Builder 231 @Override public Builder<K, V> putAll(K key, V... values) { in putAll() method in ImmutableSetMultimap.Builder 232 return putAll(key, Arrays.asList(values)); in putAll() 235 @Override public Builder<K, V> putAll( in putAll() method in ImmutableSetMultimap.Builder 239 putAll(entry.getKey(), entry.getValue()); in putAll()
|
D | ImmutableClassToInstanceMap.java | 78 public <T extends B> Builder<B> putAll( in putAll() method in ImmutableClassToInstanceMap.Builder 125 return new Builder<B>().putAll(map).build(); in copyOf()
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
D | AttributesTest.java | 146 a.putAll(b); in test_putAllLjava_util_Map() 154 atts2.putAll(atts); in test_putAllLjava_util_Map() 158 atts.putAll(Collections.EMPTY_MAP); in test_putAllLjava_util_Map() 171 new Attributes().putAll((Map) null); in test_putAllLjava_util_Map2() 180 public void putAll(Map<?, ?> attrib) { in test_putAllLjava_util_Map2() method 181 map.putAll(attrib); in test_putAllLjava_util_Map2() 183 }.putAll((Map<?, ?>) null); in test_putAllLjava_util_Map2()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableListMultimap.java | 174 @Override public Builder<K, V> putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableListMultimap.Builder 175 super.putAll(key, values); in putAll() 179 @Override public Builder<K, V> putAll(K key, V... values) { in putAll() method in ImmutableListMultimap.Builder 180 super.putAll(key, values); in putAll() 184 @Override public Builder<K, V> putAll( in putAll() method in ImmutableListMultimap.Builder 186 super.putAll(multimap); in putAll()
|
D | ImmutableMultimap.java | 140 putAll(multimap); in SortedKeyBuilderMultimap() 202 public Builder<K, V> putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableMultimap.Builder 216 public Builder<K, V> putAll(K key, V... values) { in putAll() method in ImmutableMultimap.Builder 217 return putAll(key, Arrays.asList(values)); in putAll() 229 public Builder<K, V> putAll(Multimap<? extends K, ? extends V> multimap) { in putAll() method in ImmutableMultimap.Builder 232 putAll(entry.getKey(), entry.getValue()); in putAll() 380 public boolean putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableMultimap 390 public boolean putAll(Multimap<? extends K, ? extends V> multimap) { in putAll() method in ImmutableMultimap
|
D | ImmutableSetMultimap.java | 162 putAll(multimap); in SortedKeyBuilderMultimap() 218 @Override public Builder<K, V> putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableSetMultimap.Builder 226 @Override public Builder<K, V> putAll(K key, V... values) { in putAll() method in ImmutableSetMultimap.Builder 227 return putAll(key, Arrays.asList(values)); in putAll() 230 @Override public Builder<K, V> putAll( in putAll() method in ImmutableSetMultimap.Builder 234 putAll(entry.getKey(), entry.getValue()); in putAll()
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
D | ListMap.java | 115 putAll(map); in ListMap() 258 public void putAll(Map<? extends K, ? extends V> map) { in putAll() method in ListMap 286 clone.putAll(this); in clone()
|