/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
D | MapPutAllTester.java | 62 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-testlib/src/com/google/common/collect/testing/testers/ |
D | MapPutAllTester.java | 65 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-tests/test/com/google/common/collect/ |
D | LinkedHashMultimapTest.java | 115 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 …]
|
D | LinkedListMultimapTest.java | 208 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 …]
|
D | ImmutableListMultimapTest.java | 122 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 …]
|
D | ImmutableSetMultimapTest.java | 120 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 …]
|
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 | SynchronizedMultimapTest.java | 135 @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()
|
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 | 441 multimapView.putAll("baz", Collections.singleton(3)); in testForMap() 445 multimapView.putAll(multimap); in testForMap() 630 multimap.putAll(Color.BLUE, asList(3, 1, 4)); in testNewMultimap() 632 multimap.putAll(Color.RED, asList(2, 7, 1, 8)); in testNewMultimap() 652 multimap.putAll(Color.BLUE, asList(3, 1, 4)); in testNewMultimapSerialization() 653 multimap.putAll(Color.RED, asList(2, 7, 1, 8)); in testNewMultimapSerialization() 671 multimap.putAll(Color.BLUE, asList(3, 1, 4, 1)); in testNewListMultimap() 673 multimap.putAll(Color.RED, asList(2, 7, 1, 8)); in testNewListMultimap() 687 multimap.putAll(Color.BLUE, asList(3, 1, 4, 1)); in testNewListMultimapSerialization() 688 multimap.putAll(Color.RED, asList(2, 7, 1, 8)); in testNewListMultimapSerialization() [all …]
|
D | TreeMultimapExplicitTest.java | 118 multimap.putAll("foo", Arrays.asList(-1, 2, 4)); in testToString() 119 multimap.putAll("bar", Arrays.asList(2, 3)); in testToString() 186 multimap.putAll("foo", Arrays.asList(-1, 2, 4)); in testMultimapComparators() 187 multimap.putAll("bar", Arrays.asList(2, 3)); in testMultimapComparators() 191 copy.putAll(multimap); in testMultimapComparators()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultimapPutIterableTester.java | 46 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 …]
|
D | MultimapPutAllMultimapTester.java | 42 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/ |
D | ImmutableListMultimapTest.java | 98 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 …]
|
D | ImmutableSetMultimapTest.java | 87 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 …]
|
D | MapConstraintsTest.java | 105 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 …]
|
D | TreeMultimapExplicitTest.java | 116 multimap.putAll("foo", Arrays.asList(-1, 2, 4)); in testToString() 117 multimap.putAll("bar", Arrays.asList(2, 3)); in testToString() 184 multimap.putAll("foo", Arrays.asList(-1, 2, 4)); in testMultimapComparators() 185 multimap.putAll("bar", Arrays.asList(2, 3)); in testMultimapComparators() 189 copy.putAll(multimap); in testMultimapComparators()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
D | UnicodeMapTest.java | 68 .putAll(0x20, 0x29, -2d) in TestRemove() 74 .putAll(0x21, 0x25, -2d) in TestRemove() 75 .putAll(0x26, 0x28, -3d) in TestRemove() 82 .putAll(0x26, 0x29, -2d) in TestRemove() 88 .putAll(0x21, 0x25, -2d) in TestRemove() 92 UnicodeMap<Double> test = new UnicodeMap<Double>().putAll(foo) in TestRemove() 96 test = new UnicodeMap<Double>().putAll(foo) in TestRemove() 104 UnicodeMap<Integer> me = new UnicodeMap<Integer>().putAll(stayWithMe); in TestAMonkey() 106 me.putAll(0x10FFFE, 0x10FFFF, 666); in TestAMonkey() 126 stayWithMe.putAll(test); in TestAMonkey() [all …]
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | UnicodeMapTest.java | 64 .putAll(0x20, 0x29, -2d) in TestRemove() 70 .putAll(0x21, 0x25, -2d) in TestRemove() 71 .putAll(0x26, 0x28, -3d) in TestRemove() 78 .putAll(0x26, 0x29, -2d) in TestRemove() 84 .putAll(0x21, 0x25, -2d) in TestRemove() 88 UnicodeMap<Double> test = new UnicodeMap<Double>().putAll(foo) in TestRemove() 92 test = new UnicodeMap<Double>().putAll(foo) in TestRemove() 100 UnicodeMap<Integer> me = new UnicodeMap<Integer>().putAll(stayWithMe); in TestAMonkey() 102 me.putAll(0x10FFFE, 0x10FFFF, 666); in TestAMonkey() 122 stayWithMe.putAll(test); in TestAMonkey() [all …]
|
/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 | 190 public Builder<K, V> putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableMultimap.Builder 209 public Builder<K, V> putAll(K key, V... values) { in putAll() method in ImmutableMultimap.Builder 210 return putAll(key, Arrays.asList(values)); in putAll() 222 public Builder<K, V> putAll(Multimap<? extends K, ? extends V> multimap) { in putAll() method in ImmutableMultimap.Builder 225 putAll(entry.getKey(), entry.getValue()); in putAll() 268 sortedCopy.putAll(entry.getKey(), entry.getValue()); in build() 403 public boolean putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableMultimap 415 public boolean putAll(Multimap<? extends K, ? extends V> multimap) { in putAll() method in ImmutableMultimap
|
D | ImmutableListMultimap.java | 182 @Override public Builder<K, V> putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableListMultimap.Builder 183 super.putAll(key, values); in putAll() 187 @Override public Builder<K, V> putAll(K key, V... values) { in putAll() method in ImmutableListMultimap.Builder 188 super.putAll(key, values); in putAll() 192 @Override public Builder<K, V> putAll( in putAll() method in ImmutableListMultimap.Builder 194 super.putAll(multimap); in putAll()
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
D | ShortDuration.java | 294 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/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableListMultimap.java | 177 @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()
|
D | ImmutableMultimap.java | 189 public Builder<K, V> putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableMultimap.Builder 208 public Builder<K, V> putAll(K key, V... values) { in putAll() method in ImmutableMultimap.Builder 209 return putAll(key, Arrays.asList(values)); in putAll() 221 public Builder<K, V> putAll(Multimap<? extends K, ? extends V> multimap) { in putAll() method in ImmutableMultimap.Builder 224 putAll(entry.getKey(), entry.getValue()); in putAll() 267 sortedCopy.putAll(entry.getKey(), entry.getValue()); in build() 390 public boolean putAll(K key, Iterable<? extends V> values) { in putAll() method in ImmutableMultimap 402 public boolean putAll(Multimap<? extends K, ? extends V> multimap) { in putAll() method in ImmutableMultimap
|