MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / putAll

Method putAll

Ports/CLDC11/src/java/util/AbstractMap.java:563–569  ·  view source on GitHub ↗
(Map<? extends K, ? extends V> map)

Source from the content-addressed store, hash-verified

561 /// if a key or value is `null` and this map does not
562 /// support `null` keys or values.
563 public void putAll(Map<? extends K, ? extends V> map) {
564 Iterator it = map.entrySet().iterator();
565 while (it.hasNext()) {
566 Map.Entry<? extends K, ? extends V> entry = (Map.Entry<? extends K, ? extends V>)it.next();
567 put(entry.getKey(), entry.getValue());
568 }
569 }
570
571 /// Removes a mapping with the specified key from this Map.
572 ///

Callers

nothing calls this directly

Calls 7

hasNextMethod · 0.95
nextMethod · 0.95
putMethod · 0.95
iteratorMethod · 0.65
entrySetMethod · 0.65
getKeyMethod · 0.65
getValueMethod · 0.65

Tested by

no test coverage detected