Home
last modified time | relevance | path

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

12345678910>>...13

/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DMapPutAllTester.java62 getMap().putAll(emptyMap()); in testPutAll_supportedNothing()
69 getMap().putAll(emptyMap()); in testPutAll_unsupportedNothing()
77 putAll(createDisjointCollection()); in testPutAll_supportedNonePresent()
84 putAll(createDisjointCollection()); in testPutAll_unsupportedNonePresent()
95 putAll(MinimalCollection.of(samples.e3, samples.e0)); in testPutAll_supportedSomePresent()
105 putAll(MinimalCollection.of(samples.e3, samples.e0)); in testPutAllSomePresentConcurrentWithEntrySetIteration()
117 putAll(MinimalCollection.of(samples.e3, samples.e0)); in testPutAll_unsupportedSomePresent()
128 putAll(MinimalCollection.of(samples.e0)); in testPutAll_unsupportedAllPresent()
137 putAll(containsNullKey); in testPutAll_nullKeySupported()
145 putAll(containsNullKey); in testPutAll_nullKeyUnsupported()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DLinkedHashMultimapTest.java115 multimap.putAll("foo", Arrays.asList(-1, 2, 4)); in testToString()
116 multimap.putAll("bar", Arrays.asList(2, 3)); in testToString()
231 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()
319 multimap.putAll("foo", asList(2, 3)); in testEntriesIteration()
320 multimap.putAll("bar", asList(4, 5)); in testEntriesIteration()
321 multimap.putAll("foo", asList(6)); in testEntriesIteration()
339 multimap.putAll("foo", asList(2, 3)); in testKeysIteration()
[all …]
DLinkedListMultimapTest.java208 dst.putAll(src); in testLinkedPutAllMultimap()
364 multimap.putAll("foo", asList(2, 3)); in testEntriesIteration()
365 multimap.putAll("bar", asList(4, 5)); in testEntriesIteration()
385 multimap.putAll("foo", asList(2, 3)); in testKeysIteration()
386 multimap.putAll("bar", asList(4, 5)); in testKeysIteration()
387 multimap.putAll("foo", asList(6)); in testKeysIteration()
410 multimap.putAll("foo", Arrays.asList(3, 4)); in testValuesIteration()
432 multimap.putAll("foo", asList(2, 3)); in testKeySetIteration()
433 multimap.putAll("bar", asList(4, 5)); in testKeySetIteration()
434 multimap.putAll("foo", asList(6)); in testKeySetIteration()
[all …]
DImmutableListMultimapTest.java122 builder.putAll("foo", Arrays.asList(1, 2, 3)); in testBuilderPutAllIterable()
123 builder.putAll("bar", Arrays.asList(4, 5)); in testBuilderPutAllIterable()
124 builder.putAll("foo", Arrays.asList(6, 7)); in testBuilderPutAllIterable()
134 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllVarargs()
135 builder.putAll("bar", 4, 5); in testBuilderPutAllVarargs()
136 builder.putAll("foo", 6, 7); in testBuilderPutAllVarargs()
155 builder.putAll(toPut); in testBuilderPutAllMultimap()
156 builder.putAll(moreToPut); in testBuilderPutAllMultimap()
166 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllWithDuplicates()
167 builder.putAll("bar", 4, 5); in testBuilderPutAllWithDuplicates()
[all …]
DImmutableSetMultimapTest.java120 builder.putAll("foo", Arrays.asList(1, 2, 3)); in testBuilderPutAllIterable()
121 builder.putAll("bar", Arrays.asList(4, 5)); in testBuilderPutAllIterable()
122 builder.putAll("foo", Arrays.asList(6, 7)); in testBuilderPutAllIterable()
132 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllVarargs()
133 builder.putAll("bar", 4, 5); in testBuilderPutAllVarargs()
134 builder.putAll("foo", 6, 7); in testBuilderPutAllVarargs()
153 builder.putAll(toPut); in testBuilderPutAllMultimap()
154 builder.putAll(moreToPut); in testBuilderPutAllMultimap()
164 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllWithDuplicates()
165 builder.putAll("bar", 4, 5); in testBuilderPutAllWithDuplicates()
[all …]
DMapConstraintsTest.java107 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 …]
DSynchronizedMultimapTest.java135 @Override public boolean putAll(@Nullable K key, in putAll() method in SynchronizedMultimapTest.TestMultimap
138 return super.putAll(key, values); in putAll()
141 @Override public boolean putAll(Multimap<? extends K, ? extends V> map) { in putAll() method in SynchronizedMultimapTest.TestMultimap
143 return super.putAll(map); in putAll()
205 multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1)); in testSynchronizedListMultimap()
206 multimap.putAll("bar", Arrays.asList(1, 2, 3, 1)); in testSynchronizedListMultimap()
218 multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1)); in testSynchronizedSortedSetMultimap()
219 multimap.putAll("bar", Arrays.asList(1, 2, 3, 1)); in testSynchronizedSortedSetMultimap()
DWellBehavedMapTest.java36 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()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapPutAllTester.java65 getMap().putAll(emptyMap()); in testPutAll_supportedNothing()
72 getMap().putAll(emptyMap()); in testPutAll_unsupportedNothing()
80 putAll(createDisjointCollection()); in testPutAll_supportedNonePresent()
87 putAll(createDisjointCollection()); in testPutAll_unsupportedNonePresent()
98 putAll(MinimalCollection.of(samples.e3, samples.e0)); in testPutAll_supportedSomePresent()
108 putAll(MinimalCollection.of(samples.e3, samples.e0)); in testPutAllSomePresentConcurrentWithEntrySetIteration()
120 putAll(MinimalCollection.of(samples.e3, samples.e0)); in testPutAll_unsupportedSomePresent()
131 putAll(MinimalCollection.of(samples.e0)); in testPutAll_unsupportedAllPresent()
140 putAll(containsNullKey); in testPutAll_nullKeySupported()
148 putAll(containsNullKey); in testPutAll_nullKeyUnsupported()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapPutIterableTester.java46 assertTrue(multimap().putAll(sampleKeys().e0, new Iterable<V>() { in testPutAllNonEmptyIterableOnPresentKey()
58 assertTrue(multimap().putAll( in testPutAllNonEmptyCollectionOnPresentKey()
65 assertTrue(multimap().putAll(sampleKeys().e3, new Iterable<V>() { in testPutAllNonEmptyIterableOnAbsentKey()
76 assertTrue(multimap().putAll( in testPutAllNonEmptyCollectionOnAbsentKey()
84 assertTrue(multimap().putAll(sampleKeys().e0, Lists.newArrayList(sampleValues().e3, null))); in testPutAllNullValueOnPresentKey_supported()
90 assertTrue(multimap().putAll(sampleKeys().e3, Lists.newArrayList(sampleValues().e3, null))); in testPutAllNullValueOnAbsentKey_supported()
96 multimap().putAll(sampleKeys().e1, Lists.newArrayList((V) null)); in testPutAllNullValueSingle_unsupported()
107 multimap().putAll(sampleKeys().e3, Lists.newArrayList(sampleValues().e3, null)); in testPutAllNullValueNullLast_unsupported()
129 multimap().putAll(sampleKeys().e3, Lists.newArrayList(null, sampleValues().e3)); in testPutAllNullValueNullFirst_unsupported()
147 assertTrue(multimap().putAll(null, Lists.newArrayList(sampleValues().e3, sampleValues().e4))); in testPutAllOnPresentNullKey()
[all …]
DMultimapPutAllMultimapTester.java42 multimap().putAll(getSubjectGenerator().create( in testPutUnsupported()
51 assertEquals(!multimap().isEmpty(), target.putAll(multimap())); in testPutAllIntoEmpty()
60 assertTrue(multimap().putAll(source)); in testPutAll()
69 assertTrue(multimap().putAll(source)); in testPutAllWithNullValue()
77 assertTrue(multimap().putAll(source)); in testPutAllWithNullKey()
86 multimap().putAll(source); in testPutAllRejectsNullValue()
97 multimap().putAll(source); in testPutAllRejectsNullKey()
110 assertTrue(multimap().putAll(source)); in testPutAllPropagatesToGet()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableListMultimapTest.java98 builder.putAll("foo", Arrays.asList(1, 2, 3)); in testBuilderPutAllIterable()
99 builder.putAll("bar", Arrays.asList(4, 5)); in testBuilderPutAllIterable()
100 builder.putAll("foo", Arrays.asList(6, 7)); in testBuilderPutAllIterable()
110 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllVarargs()
111 builder.putAll("bar", 4, 5); in testBuilderPutAllVarargs()
112 builder.putAll("foo", 6, 7); in testBuilderPutAllVarargs()
131 builder.putAll(toPut); in testBuilderPutAllMultimap()
132 builder.putAll(moreToPut); in testBuilderPutAllMultimap()
142 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllWithDuplicates()
143 builder.putAll("bar", 4, 5); in testBuilderPutAllWithDuplicates()
[all …]
DImmutableSetMultimapTest.java87 builder.putAll("foo", Arrays.asList(1, 2, 3)); in testBuilderPutAllIterable()
88 builder.putAll("bar", Arrays.asList(4, 5)); in testBuilderPutAllIterable()
89 builder.putAll("foo", Arrays.asList(6, 7)); in testBuilderPutAllIterable()
99 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllVarargs()
100 builder.putAll("bar", 4, 5); in testBuilderPutAllVarargs()
101 builder.putAll("foo", 6, 7); in testBuilderPutAllVarargs()
120 builder.putAll(toPut); in testBuilderPutAllMultimap()
121 builder.putAll(moreToPut); in testBuilderPutAllMultimap()
131 builder.putAll("foo", 1, 2, 3); in testBuilderPutAllWithDuplicates()
132 builder.putAll("bar", 4, 5); in testBuilderPutAllWithDuplicates()
[all …]
DMapConstraintsTest.java105 map.putAll(ImmutableMap.of("bar", 2)); in testConstrainedMapLegal()
106 constrained.putAll(ImmutableMap.of("baz", 3)); in testConstrainedMapLegal()
140 constrained.putAll(ImmutableMap.of("baz", 3, TEST_KEY, 4)); in testConstrainedMapIllegal()
155 map.putAll(ImmutableMap.of("bar", 2)); in testConstrainedBiMapLegal()
156 constrained.putAll(ImmutableMap.of("baz", 3)); in testConstrainedBiMapLegal()
190 constrained.putAll(ImmutableMap.of("baz", 3, TEST_KEY, 4)); in testConstrainedBiMapIllegal()
219 multimap.putAll("zag", Arrays.asList(6)); in testConstrainedMultimapLegal()
220 constrained.putAll("bee", Arrays.asList(7)); in testConstrainedMultimapLegal()
221 multimap.putAll(new ImmutableMultimap.Builder<String, Integer>() in testConstrainedMultimapLegal()
223 constrained.putAll(new ImmutableMultimap.Builder<String, Integer>() in testConstrainedMultimapLegal()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/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/android_icu4j/src/main/java/android/icu/impl/locale/
DXLocaleDistance.java118 .putAll("001", "019", "002", "150", "142", "009") in xGetContainment()
119 ….putAll("011", "BF", "BJ", "CI", "CV", "GH", "GM", "GN", "GW", "LR", "ML", "MR", "NE", "NG", "SH",… in xGetContainment()
120 .putAll("013", "BZ", "CR", "GT", "HN", "MX", "NI", "PA", "SV") in xGetContainment()
121 ….putAll("014", "BI", "DJ", "ER", "ET", "KE", "KM", "MG", "MU", "MW", "MZ", "RE", "RW", "SC", "SO",… in xGetContainment()
122 .putAll("142", "145", "143", "030", "034", "035") in xGetContainment()
123 .putAll("143", "TM", "TJ", "KG", "KZ", "UZ") in xGetContainment()
124 ….putAll("145", "AE", "AM", "AZ", "BH", "CY", "GE", "IL", "IQ", "JO", "KW", "LB", "OM", "PS", "QA",… in xGetContainment()
125 .putAll("015", "DZ", "EG", "EH", "LY", "MA", "SD", "TN", "EA", "IC") in xGetContainment()
126 .putAll("150", "154", "155", "151", "039") in xGetContainment()
127 .putAll("151", "BG", "BY", "CZ", "HU", "MD", "PL", "RO", "RU", "SK", "UA", "SU") in xGetContainment()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DXLocaleDistance.java114 .putAll("001", "019", "002", "150", "142", "009") in xGetContainment()
115 ….putAll("011", "BF", "BJ", "CI", "CV", "GH", "GM", "GN", "GW", "LR", "ML", "MR", "NE", "NG", "SH",… in xGetContainment()
116 .putAll("013", "BZ", "CR", "GT", "HN", "MX", "NI", "PA", "SV") in xGetContainment()
117 ….putAll("014", "BI", "DJ", "ER", "ET", "KE", "KM", "MG", "MU", "MW", "MZ", "RE", "RW", "SC", "SO",… in xGetContainment()
118 .putAll("142", "145", "143", "030", "034", "035") in xGetContainment()
119 .putAll("143", "TM", "TJ", "KG", "KZ", "UZ") in xGetContainment()
120 ….putAll("145", "AE", "AM", "AZ", "BH", "CY", "GE", "IL", "IQ", "JO", "KW", "LB", "OM", "PS", "QA",… in xGetContainment()
121 .putAll("015", "DZ", "EG", "EH", "LY", "MA", "SD", "TN", "EA", "IC") in xGetContainment()
122 .putAll("150", "154", "155", "151", "039") in xGetContainment()
123 .putAll("151", "BG", "BY", "CZ", "HU", "MD", "PL", "RO", "RU", "SK", "UA", "SU") in xGetContainment()
[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/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/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/guava/guava/src/com/google/common/collect/
DForwardingMultimap.java102 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()
/external/caliper/caliper/src/main/java/com/google/caliper/util/
DShortDuration.java294 builder.putAll(TimeUnit.NANOSECONDS, "ns", "nanos"); in createAbbreviations()
295 builder.putAll(TimeUnit.MICROSECONDS, "\u03bcs" /*μs*/, "us", "micros"); in createAbbreviations()
296 builder.putAll(TimeUnit.MILLISECONDS, "ms", "millis"); in createAbbreviations()
297 builder.putAll(TimeUnit.SECONDS, "s", "sec"); in createAbbreviations()
302 builder.putAll(allUnits[4], "m", "min"); in createAbbreviations()
303 builder.putAll(allUnits[5], "h", "hr"); in createAbbreviations()
304 builder.putAll(allUnits[6], "d"); in createAbbreviations()
/external/cldr/tools/java/org/unicode/cldr/util/props/
DRandomStringGenerator.java41 extendedMap.putAll(tempMap.keySet("CR"), "CR"); in init()
42 extendedMap.putAll(tempMap.keySet("LF"), "LF"); in init()
43 extendedMap.putAll(tempMap.keySet("Extend"), "GCExtend"); in init()
44 extendedMap.putAll(tempMap.keySet("Control"), "GCControl"); in init()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableListMultimap.java177 @Override public Builder<K, V> putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableListMultimap.Builder
178 super.putAll(key, values); in putAll()
182 @Override public Builder<K, V> putAll(K key, V... values) { in putAll() method in ImmutableListMultimap.Builder
183 super.putAll(key, values); in putAll()
187 @Override public Builder<K, V> putAll( in putAll() method in ImmutableListMultimap.Builder
189 super.putAll(multimap); in putAll()

12345678910>>...13