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

Method putAll

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

Source from the content-addressed store, hash-verified

773 ///
774 /// - `map`: the map to copy mappings from.
775 public synchronized void putAll(Map<? extends K, ? extends V> map) {
776 Iterator it = map.entrySet().iterator();
777 while(it.hasNext()) {
778 Map.Entry<? extends K, ? extends V> entry = (Map.Entry<? extends K, ? extends V>)it.next();
779 put(entry.getKey(), entry.getValue());
780 }
781 }
782
783 /// Increases the capacity of this `Hashtable`. This method is called
784 /// when the size of this `Hashtable` exceeds the load factor.

Callers 1

HashtableMethod · 0.95

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