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

Method putAll

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

Source from the content-addressed store, hash-verified

4816 /// if a key in the specified map is `null` and the
4817 /// comparator cannot handle `null` keys.
4818 @Override
4819 public void putAll(Map<? extends K, ? extends V> map) {
4820 Iterator it = map.entrySet().iterator();
4821 while(it.hasNext()) {
4822 Map.Entry<? extends K, ? extends V> entry = (Map.Entry<? extends K, ? extends V>)it.next();
4823 this.putImpl(entry.getKey(), entry.getValue());
4824 }
4825 }
4826
4827 /// Removes the mapping with the specified key from this map.
4828 ///

Callers 1

TreeMapMethod · 0.95

Calls 7

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

Tested by

no test coverage detected