Home
last modified time | relevance | path

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

1234

/libcore/ojluni/src/test/java/util/SequencedCollection/
DSimpleSortedMap.java95 public void putAll(Map<? extends K,? extends V> m) { in putAll() method in SimpleSortedMap
96 map.putAll(m); in putAll()
/libcore/ojluni/src/test/java/util/Collections/
DCheckedNull.java128 m.putAll(singletonMap(k,v)); in put()
154 new F(){void f(){ m.putAll(singletonMap(1, "foo")); }}); in testMap()
164 new F(){void f(){ m.putAll(singletonMap("foo", 1)); }}, in testMap()
174 new F(){void f(){ m.putAll(singletonMap(3, 1)); }}); in testMap()
DCheckedMapBash.java90 Map m2 = supplier.get(); m2.putAll(m); in testCheckedMap()
123 Map m2 = supplier.get(); m2.putAll(m); in testCheckedMap2()
142 m2.putAll(m); in testCheckedMap2()
DDelegatingIteratorForEachRemaining.java131 @Override public void putAll(Map<? extends K, ? extends V> map) { delegate.putAll(map); } in putAll() method in DelegatingIteratorForEachRemaining.ForwardingMap
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DAttributesTest.java146 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()
/libcore/luni/src/test/java/libcore/java/util/
DLinkedHashMapTest.java270 m.putAll(createMap("K1", "V1", "K2", "V2", "K3", "V3", "K4", "V4")); in test_removeEldestEntry_removeKey()
287 m.putAll(createMap("K1", "V1", "K2", "V2", "K3", "V3", "K4", "V4")); in test_removeEldestEntry_removeEntry()
304 m.putAll(createMap("K1", "V1", "K2", "V2", "K3", "V3")); in test_removeEldestEntry_orderedAccess()
306 m.putAll(createMap("K4", "V4")); in test_removeEldestEntry_orderedAccess()
323 m.putAll(createMap("K1", "V1", "K2", "V2", "K3", "V3")); in test_removeEldestEntry_removeOtherThanPassedEldest()
DOldTreeMapTest.java347 x.putAll(tm); in test_putAllLjava_util_Map()
358 tm.putAll(x); in test_putAllLjava_util_Map()
365 tm.putAll(null); in test_putAllLjava_util_Map()
DWeakHashMapTest.java173 map.putAll(anotherMap); in test_putAll()
/libcore/ojluni/src/test/java/util/IdentityHashMap/
DCapacity.java103 map.putAll(other); in growUsingPutAll()
109 map.putAll(Collections.singletonMap(new Object(), in growUsingRepeatedPutAll()
/libcore/ojluni/src/test/java/util/EnumSet/
DInsertWrongType.java171 dest.putAll(src); in putAllIllTypedKey()
181 dest.putAll(src); in putAllIllTypedKeyEnumMap()
189 dest.putAll(src); in putAllEmptyMistypedEnumMap()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DRefSortedMap.java258 putAll(map);
263 putAll(map);
339 public void putAll(Map<? extends K, ? extends V> arg0) {
DEnumMapTest.java855 enumColorMap.putAll(enumSizeMap); in test_putAllLjava_util_Map()
859 enumColorMap.putAll(enumSizeMap); in test_putAllLjava_util_Map()
867 enumColorMap.putAll(enumColorMap1); in test_putAllLjava_util_Map()
876 enumColorMap.putAll(hashColorMap); in test_putAllLjava_util_Map()
883 enumColorMap.putAll(hashColorMap); in test_putAllLjava_util_Map()
886 enumColorMap.putAll(hashColorMap); in test_putAllLjava_util_Map()
892 enumColorMap.putAll(hashColorMap); in test_putAllLjava_util_Map()
897 enumColorMap.putAll(hashColorMap); in test_putAllLjava_util_Map()
906 enumColorMap.putAll(hashColorMap); in test_putAllLjava_util_Map()
DIdentityHashMap2Test.java333 hm2.putAll(hm); in test_putAllLjava_util_Map()
341 hm2.putAll(mockMap); in test_putAllLjava_util_Map()
DSortedMapTestBase.java137 ref.putAll(mixin); in testPutAll()
138 map.putAll(mixin); in testPutAll()
/libcore/ojluni/src/test/java/util/LinkedHashMap/
DBasic.java76 Map<Integer,Integer> m2 = new LinkedHashMap(); m2.putAll(m); in testBasic()
99 Map<Integer,Integer> m2 = new LinkedHashMap(); m2.putAll(m); in testBasic()
120 m2.putAll(m); in testBasic()
/libcore/ojluni/src/main/java/java/util/
DEnumMap.java179 putAll(m); in EnumMap()
331 public void putAll(Map<? extends K, ? extends V> m) { in putAll() method in EnumMap
348 super.putAll(m); in putAll()
DReverseOrderSortedMapView.java86 public void putAll(Map<? extends K, ? extends V> m) { in putAll() method in ReverseOrderSortedMapView
87 base.putAll(m); in putAll()
/libcore/ojluni/src/main/java/sun/misc/
DVM.java279 savedProps.putAll(props); in saveAndRemoveProperties()
/libcore/ojluni/src/main/java/jdk/internal/misc/
DVM.java281 savedProps.putAll(props); in saveAndRemoveProperties()
/libcore/ojluni/src/main/java/java/security/cert/
DCertificateRevokedException.java100 this.extensions.putAll(extensions); in CertificateRevokedException()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DWeakHashMap.annotated.java53 public void putAll(@libcore.util.NonNull java.util.Map<? extends @libcore.util.NullFromTypeParam K,… in putAll() method in WeakHashMap
/libcore/ojluni/src/main/java/java/util/jar/
DManifest.java111 attr.putAll(man.getMainAttributes()); in Manifest()
112 entries.putAll(man.getEntries()); in Manifest()
DJarVerifier.java695 signerMap.putAll(verifiedSigners); in signerMap()
696 signerMap.putAll(sigFileSigners); in signerMap()
767 map.putAll(signerMap()); in entries2()
/libcore/ojluni/src/test/java/util/HashMap/
DWhiteBoxResizeTest.java114 map.putAll(IntStream.range(0, 64).boxed().collect(toMap(i -> i, i -> i))); in capacityTestDefaultConstructor()
/libcore/ojluni/annotations/flagged_api/java/util/
DHashMap.annotated.java50 public void putAll(java.util.Map<? extends K,? extends V> m) { throw new RuntimeException("Stub!");… in putAll() method in HashMap

1234