Home
last modified time | relevance | path

Searched refs:putAll (Results 1 – 25 of 437) sorted by relevance

12345678910>>...18

/external/guava/android/guava-testlib/src/com/google/common/collect/testing/testers/
DMapPutAllTester.java66 getMap().putAll(emptyMap()); in testPutAll_supportedNothing()
73 getMap().putAll(emptyMap()); in testPutAll_unsupportedNothing()
81 putAll(createDisjointCollection()); in testPutAll_supportedNonePresent()
88 putAll(createDisjointCollection()); in testPutAll_unsupportedNonePresent()
99 putAll(MinimalCollection.of(e3(), e0())); in testPutAll_supportedSomePresent()
108 putAll(MinimalCollection.of(e3(), e0())); in testPutAllSomePresentConcurrentWithEntrySetIteration()
120 putAll(MinimalCollection.of(e3(), e0())); in testPutAll_unsupportedSomePresent()
131 putAll(MinimalCollection.of(e0())); in testPutAll_unsupportedAllPresent()
139 putAll(containsNullKey); in testPutAll_nullKeySupported()
146 putAll(containsNullKey); in testPutAll_nullKeyUnsupported()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapPutAllTester.java66 getMap().putAll(emptyMap()); in testPutAll_supportedNothing()
73 getMap().putAll(emptyMap()); in testPutAll_unsupportedNothing()
81 putAll(createDisjointCollection()); in testPutAll_supportedNonePresent()
88 putAll(createDisjointCollection()); in testPutAll_unsupportedNonePresent()
99 putAll(MinimalCollection.of(e3(), e0())); in testPutAll_supportedSomePresent()
108 putAll(MinimalCollection.of(e3(), e0())); in testPutAllSomePresentConcurrentWithEntrySetIteration()
120 putAll(MinimalCollection.of(e3(), e0())); in testPutAll_unsupportedSomePresent()
131 putAll(MinimalCollection.of(e0())); in testPutAll_unsupportedAllPresent()
139 putAll(containsNullKey); in testPutAll_nullKeySupported()
146 putAll(containsNullKey); in testPutAll_nullKeyUnsupported()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DLinkedHashMultimapTest.java117 multimap.putAll("foo", Arrays.asList(-1, 2, 4)); in testToString()
118 multimap.putAll("bar", Arrays.asList(2, 3)); in testToString()
229 multimap.putAll(initializeMultimap5()); in testPutMultimapOrdered()
290 multimap.putAll("foo", asList(2, 3, 4)); in testGetIteration()
291 multimap.putAll("bar", asList(5, 6)); in testGetIteration()
292 multimap.putAll("foo", asList(7, 8)); in testGetIteration()
322 multimap.putAll("foo", asList(2, 3)); in testEntriesIteration()
323 multimap.putAll("bar", asList(4, 5)); in testEntriesIteration()
324 multimap.putAll("foo", asList(6)); in testEntriesIteration()
347 multimap.putAll("foo", asList(2, 3)); in testKeysIteration()
[all …]
DLinkedListMultimapTest.java200 dst.putAll(src); in testLinkedPutAllMultimap()
358 multimap.putAll("foo", asList(2, 3)); in testEntriesIteration()
359 multimap.putAll("bar", asList(4, 5)); in testEntriesIteration()
384 multimap.putAll("foo", asList(2, 3)); in testKeysIteration()
385 multimap.putAll("bar", asList(4, 5)); in testKeysIteration()
386 multimap.putAll("foo", asList(6)); in testKeysIteration()
414 multimap.putAll("foo", Arrays.asList(3, 4)); in testValuesIteration()
440 multimap.putAll("foo", asList(2, 3)); in testKeySetIteration()
441 multimap.putAll("bar", asList(4, 5)); in testKeySetIteration()
442 multimap.putAll("foo", asList(6)); in testKeySetIteration()
[all …]
DImmutableListMultimapTest.java132 builder.putAll("foo", Arrays.asList(1, 2, 3)); in testBuilderPutAllIterable()
133 builder.putAll("bar", Arrays.asList(4, 5)); in testBuilderPutAllIterable()
134 builder.putAll("foo", Arrays.asList(6, 7)); in testBuilderPutAllIterable()
143 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllVarargs()
144 builder.putAll("bar", 4, 5); in testBuilderPutAllVarargs()
145 builder.putAll("foo", 6, 7); in testBuilderPutAllVarargs()
163 builder.putAll(toPut); in testBuilderPutAllMultimap()
164 builder.putAll(moreToPut); in testBuilderPutAllMultimap()
173 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllWithDuplicates()
174 builder.putAll("bar", 4, 5); in testBuilderPutAllWithDuplicates()
[all …]
DImmutableSetMultimapTest.java132 builder.putAll("foo", Arrays.asList(1, 2, 3)); in testBuilderPutAllIterable()
133 builder.putAll("bar", Arrays.asList(4, 5)); in testBuilderPutAllIterable()
134 builder.putAll("foo", Arrays.asList(6, 7)); in testBuilderPutAllIterable()
143 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllVarargs()
144 builder.putAll("bar", 4, 5); in testBuilderPutAllVarargs()
145 builder.putAll("foo", 6, 7); in testBuilderPutAllVarargs()
163 builder.putAll(toPut); in testBuilderPutAllMultimap()
164 builder.putAll(moreToPut); in testBuilderPutAllMultimap()
173 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllWithDuplicates()
174 builder.putAll("bar", 4, 5); in testBuilderPutAllWithDuplicates()
[all …]
DSynchronizedMultimapTest.java147 public boolean putAll(@NullableDecl K key, Iterable<? extends V> values) { in putAll() method in SynchronizedMultimapTest.TestMultimap
149 return super.putAll(key, values); in putAll()
153 public boolean putAll(Multimap<? extends K, ? extends V> map) { in putAll() method in SynchronizedMultimapTest.TestMultimap
155 return super.putAll(map); in putAll()
223 multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1)); in testSynchronizedListMultimap()
224 multimap.putAll("bar", Arrays.asList(1, 2, 3, 1)); in testSynchronizedListMultimap()
236 multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1)); in testSynchronizedSortedSetMultimap()
237 multimap.putAll("bar", Arrays.asList(1, 2, 3, 1)); in testSynchronizedSortedSetMultimap()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapPutIterableTester.java50 .putAll( in testPutAllNonEmptyIterableOnPresentKey()
64 assertTrue(multimap().putAll(k0(), Lists.newArrayList(v3(), v4()))); in testPutAllNonEmptyCollectionOnPresentKey()
72 .putAll( in testPutAllNonEmptyIterableOnAbsentKey()
85 assertTrue(multimap().putAll(k3(), Lists.newArrayList(v3(), v4()))); in testPutAllNonEmptyCollectionOnAbsentKey()
92 assertTrue(multimap().putAll(k0(), Lists.newArrayList(v3(), null))); in testPutAllNullValueOnPresentKey_supported()
98 assertTrue(multimap().putAll(k3(), Lists.newArrayList(v3(), null))); in testPutAllNullValueOnAbsentKey_supported()
104 multimap().putAll(k1(), Lists.newArrayList((V) null)); in testPutAllNullValueSingle_unsupported()
115 multimap().putAll(k3(), Lists.newArrayList(v3(), null)); in testPutAllNullValueNullLast_unsupported()
137 multimap().putAll(k3(), Lists.newArrayList(null, v3())); in testPutAllNullValueNullFirst_unsupported()
155 assertTrue(multimap().putAll(null, Lists.newArrayList(v3(), v4()))); in testPutAllOnPresentNullKey()
[all …]
DMultimapPutAllMultimapTester.java43 multimap().putAll(getSubjectGenerator().create(Helpers.mapEntry(k3(), v3()))); in testPutUnsupported()
52 assertEquals(!multimap().isEmpty(), target.putAll(multimap())); in testPutAllIntoEmpty()
60 assertTrue(multimap().putAll(source)); in testPutAll()
68 assertTrue(multimap().putAll(source)); in testPutAllWithNullValue()
75 assertTrue(multimap().putAll(source)); in testPutAllWithNullKey()
83 multimap().putAll(source); in testPutAllRejectsNullValue()
94 multimap().putAll(source); in testPutAllRejectsNullKey()
107 assertTrue(multimap().putAll(source)); in testPutAllPropagatesToGet()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapPutIterableTester.java50 .putAll( in testPutAllNonEmptyIterableOnPresentKey()
64 assertTrue(multimap().putAll(k0(), Lists.newArrayList(v3(), v4()))); in testPutAllNonEmptyCollectionOnPresentKey()
72 .putAll( in testPutAllNonEmptyIterableOnAbsentKey()
85 assertTrue(multimap().putAll(k3(), Lists.newArrayList(v3(), v4()))); in testPutAllNonEmptyCollectionOnAbsentKey()
92 assertTrue(multimap().putAll(k0(), Lists.newArrayList(v3(), null))); in testPutAllNullValueOnPresentKey_supported()
98 assertTrue(multimap().putAll(k3(), Lists.newArrayList(v3(), null))); in testPutAllNullValueOnAbsentKey_supported()
104 multimap().putAll(k1(), Lists.newArrayList((V) null)); in testPutAllNullValueSingle_unsupported()
115 multimap().putAll(k3(), Lists.newArrayList(v3(), null)); in testPutAllNullValueNullLast_unsupported()
137 multimap().putAll(k3(), Lists.newArrayList(null, v3())); in testPutAllNullValueNullFirst_unsupported()
155 assertTrue(multimap().putAll(null, Lists.newArrayList(v3(), v4()))); in testPutAllOnPresentNullKey()
[all …]
DMultimapPutAllMultimapTester.java43 multimap().putAll(getSubjectGenerator().create(Helpers.mapEntry(k3(), v3()))); in testPutUnsupported()
52 assertEquals(!multimap().isEmpty(), target.putAll(multimap())); in testPutAllIntoEmpty()
60 assertTrue(multimap().putAll(source)); in testPutAll()
68 assertTrue(multimap().putAll(source)); in testPutAllWithNullValue()
75 assertTrue(multimap().putAll(source)); in testPutAllWithNullKey()
83 multimap().putAll(source); in testPutAllRejectsNullValue()
94 multimap().putAll(source); in testPutAllRejectsNullKey()
107 assertTrue(multimap().putAll(source)); in testPutAllPropagatesToGet()
/external/guava/guava-tests/test/com/google/common/collect/
DLinkedHashMultimapTest.java118 multimap.putAll("foo", Arrays.asList(-1, 2, 4)); in testToString()
119 multimap.putAll("bar", Arrays.asList(2, 3)); in testToString()
230 multimap.putAll(initializeMultimap5()); in testPutMultimapOrdered()
291 multimap.putAll("foo", asList(2, 3, 4)); in testGetIteration()
292 multimap.putAll("bar", asList(5, 6)); in testGetIteration()
293 multimap.putAll("foo", asList(7, 8)); in testGetIteration()
323 multimap.putAll("foo", asList(2, 3)); in testEntriesIteration()
324 multimap.putAll("bar", asList(4, 5)); in testEntriesIteration()
325 multimap.putAll("foo", asList(6)); in testEntriesIteration()
348 multimap.putAll("foo", asList(2, 3)); in testKeysIteration()
[all …]
DImmutableListMultimapTest.java137 builder.putAll("foo", Arrays.asList(1, 2, 3)); in testBuilderPutAllIterable()
138 builder.putAll("bar", Arrays.asList(4, 5)); in testBuilderPutAllIterable()
139 builder.putAll("foo", Arrays.asList(6, 7)); in testBuilderPutAllIterable()
148 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllVarargs()
149 builder.putAll("bar", 4, 5); in testBuilderPutAllVarargs()
150 builder.putAll("foo", 6, 7); in testBuilderPutAllVarargs()
168 builder.putAll(toPut); in testBuilderPutAllMultimap()
169 builder.putAll(moreToPut); in testBuilderPutAllMultimap()
178 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllWithDuplicates()
179 builder.putAll("bar", 4, 5); in testBuilderPutAllWithDuplicates()
[all …]
DLinkedListMultimapTest.java200 dst.putAll(src); in testLinkedPutAllMultimap()
358 multimap.putAll("foo", asList(2, 3)); in testEntriesIteration()
359 multimap.putAll("bar", asList(4, 5)); in testEntriesIteration()
384 multimap.putAll("foo", asList(2, 3)); in testKeysIteration()
385 multimap.putAll("bar", asList(4, 5)); in testKeysIteration()
386 multimap.putAll("foo", asList(6)); in testKeysIteration()
414 multimap.putAll("foo", Arrays.asList(3, 4)); in testValuesIteration()
440 multimap.putAll("foo", asList(2, 3)); in testKeySetIteration()
441 multimap.putAll("bar", asList(4, 5)); in testKeySetIteration()
442 multimap.putAll("foo", asList(6)); in testKeySetIteration()
[all …]
DImmutableSetMultimapTest.java137 builder.putAll("foo", Arrays.asList(1, 2, 3)); in testBuilderPutAllIterable()
138 builder.putAll("bar", Arrays.asList(4, 5)); in testBuilderPutAllIterable()
139 builder.putAll("foo", Arrays.asList(6, 7)); in testBuilderPutAllIterable()
148 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllVarargs()
149 builder.putAll("bar", 4, 5); in testBuilderPutAllVarargs()
150 builder.putAll("foo", 6, 7); in testBuilderPutAllVarargs()
168 builder.putAll(toPut); in testBuilderPutAllMultimap()
169 builder.putAll(moreToPut); in testBuilderPutAllMultimap()
178 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllWithDuplicates()
179 builder.putAll("bar", 4, 5); in testBuilderPutAllWithDuplicates()
[all …]
DSynchronizedMultimapTest.java147 public boolean putAll(@Nullable K key, Iterable<? extends V> values) { in putAll() method in SynchronizedMultimapTest.TestMultimap
149 return super.putAll(key, values); in putAll()
153 public boolean putAll(Multimap<? extends K, ? extends V> map) { in putAll() method in SynchronizedMultimapTest.TestMultimap
155 return super.putAll(map); in putAll()
223 multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1)); in testSynchronizedListMultimap()
224 multimap.putAll("bar", Arrays.asList(1, 2, 3, 1)); in testSynchronizedListMultimap()
236 multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1)); in testSynchronizedSortedSetMultimap()
237 multimap.putAll("bar", Arrays.asList(1, 2, 3, 1)); in testSynchronizedSortedSetMultimap()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_typesystem_parametrization_TypeParametersMap.txt1 …Line 43) this.nameToValue.putAll(nameToValue) ==> java.util.Map.putAll(java.util.Map<? extends K, …
2 …Line 45) this.nameToDeclaration.putAll(nameToDeclaration) ==> java.util.Map.putAll(java.util.Map<?…
10 …Line 93) this.nameToValue.putAll(nameToValue) ==> java.util.Map.putAll(java.util.Map<? extends K, …
11 …Line 95) this.nameToDeclaration.putAll(nameToDeclaration) ==> java.util.Map.putAll(java.util.Map<?…
/external/cldr/tools/java/org/unicode/cldr/draft/
DExemplarInfo.java88 ….putAll(new UnicodeSet("[一七三-下中九二五人休先入八六円出力十千口右名四土夕大天女子字学小山川左年手文日早月木本村林校森正気水火犬玉王生田男町白百目石空立竹糸耳花草虫見貝…
90 .putAll(
94 .putAll(
98 .putAll(
102 .putAll(
106 .putAll(
110 .putAll(
180 educationLevels.putAll(getCharset("Shift_JIS"), "SJIS"); in ExemplarInfo()
181 educationLevels.putAll(JapaneseEducationLevels); in ExemplarInfo()
183 educationLevels.putAll(getCharset("x-windows-949"), "949"); in ExemplarInfo()
[all …]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DUnicodeMapTest.java76 .putAll(0x20, 0x29, -2d) in TestRemove()
82 .putAll(0x21, 0x25, -2d) in TestRemove()
83 .putAll(0x26, 0x28, -3d) in TestRemove()
90 .putAll(0x26, 0x29, -2d) in TestRemove()
96 .putAll(0x21, 0x25, -2d) in TestRemove()
100 UnicodeMap<Double> test = new UnicodeMap<Double>().putAll(foo) in TestRemove()
104 test = new UnicodeMap<Double>().putAll(foo) in TestRemove()
113 UnicodeMap<Integer> me = new UnicodeMap<Integer>().putAll(stayWithMe); in TestAMonkey()
115 me.putAll(0x10FFFE, 0x10FFFF, 666); in TestAMonkey()
135 stayWithMe.putAll(test); in TestAMonkey()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DUnicodeMapTest.java79 .putAll(0x20, 0x29, -2d) in TestRemove()
85 .putAll(0x21, 0x25, -2d) in TestRemove()
86 .putAll(0x26, 0x28, -3d) in TestRemove()
93 .putAll(0x26, 0x29, -2d) in TestRemove()
99 .putAll(0x21, 0x25, -2d) in TestRemove()
103 UnicodeMap<Double> test = new UnicodeMap<Double>().putAll(foo) in TestRemove()
107 test = new UnicodeMap<Double>().putAll(foo) in TestRemove()
116 UnicodeMap<Integer> me = new UnicodeMap<Integer>().putAll(stayWithMe); in TestAMonkey()
118 me.putAll(0x10FFFE, 0x10FFFF, 666); in TestAMonkey()
138 stayWithMe.putAll(test); in TestAMonkey()
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DImmutableListMultimap.java166 public Builder<K, V> putAll(Iterable<? extends Entry<? extends K, ? extends V>> entries) { in putAll() method in ImmutableListMultimap.Builder
167 super.putAll(entries); in putAll()
173 public Builder<K, V> putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableListMultimap.Builder
174 super.putAll(key, values); in putAll()
180 public Builder<K, V> putAll(K key, V... values) { in putAll() method in ImmutableListMultimap.Builder
181 super.putAll(key, values); in putAll()
187 public Builder<K, V> putAll(Multimap<? extends K, ? extends V> multimap) { in putAll() method in ImmutableListMultimap.Builder
188 super.putAll(multimap); in putAll()
263 return new Builder<K, V>().putAll(entries).build(); in copyOf()
DForwardingMultimap.java106 public boolean putAll(K key, Iterable<? extends V> values) { in putAll() method in ForwardingMultimap
107 return delegate().putAll(key, values); in putAll()
112 public boolean putAll(Multimap<? extends K, ? extends V> multimap) { in putAll() method in ForwardingMultimap
113 return delegate().putAll(multimap); in putAll()
/external/guava/guava/src/com/google/common/collect/
DForwardingMultimap.java106 public boolean putAll(K key, Iterable<? extends V> values) { in putAll() method in ForwardingMultimap
107 return delegate().putAll(key, values); in putAll()
112 public boolean putAll(Multimap<? extends K, ? extends V> multimap) { in putAll() method in ForwardingMultimap
113 return delegate().putAll(multimap); in putAll()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/parametrization/
DResolvedTypeParametersMap.java49 this.nameToValue.putAll(nameToValue); in Builder()
51 this.nameToDeclaration.putAll(nameToDeclaration); in Builder()
101 this.nameToValue.putAll(nameToValue); in ResolvedTypeParametersMap()
103 this.nameToDeclaration.putAll(nameToDeclaration); in ResolvedTypeParametersMap()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/parametrization/
DTypeParametersMap.java43 this.nameToValue.putAll(nameToValue); in Builder()
45 this.nameToDeclaration.putAll(nameToDeclaration); in Builder()
93 this.nameToValue.putAll(nameToValue); in TypeParametersMap()
95 this.nameToDeclaration.putAll(nameToDeclaration); in TypeParametersMap()

12345678910>>...18