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

Method putAll

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

Source from the content-addressed store, hash-verified

594 ///
595 /// - `NullPointerException`: if `map` is `null`.
596 @Override
597 public void putAll(Map<? extends K, ? extends V> map) {
598 if (!map.isEmpty()) {
599 putAllImpl(map);
600 }
601 }
602
603 private void putAllImpl(Map<? extends K, ? extends V> map) {
604 int capacity = elementCount + map.size();

Callers

nothing calls this directly

Calls 2

putAllImplMethod · 0.95
isEmptyMethod · 0.65

Tested by

no test coverage detected