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

Method putAll

vm/JavaAPI/src/java/util/Hashtable.java:732–738  ·  view source on GitHub ↗

Copies every mapping to this Hashtable from the specified map. @param map the map to copy mappings from.

(Map<? extends K, ? extends V> map)

Source from the content-addressed store, hash-verified

730 * the map to copy mappings from.
731 */
732 public synchronized void putAll(Map<? extends K, ? extends V> map) {
733 Iterator it = map.entrySet().iterator();
734 while(it.hasNext()) {
735 Map.Entry<? extends K, ? extends V> entry = (Map.Entry<? extends K, ? extends V>)it.next();
736 put(entry.getKey(), entry.getValue());
737 }
738 }
739
740 /**
741 * Increases the capacity of this {@code Hashtable}. This method is called

Callers 2

addElementMethod · 0.95
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