MCPcopy Create free account
hub / github.com/antlr/codebuff / putAll

Method putAll

output/java_guava/1.4.19/AtomicLongMap.java:245–249  ·  view source on GitHub ↗

Copies all of the mappings from the specified map to this map. The effect of this call is equivalent to that of calling put(k, v) on this map once for each mapping from key k to value v in the specified map. The behavior of this operation is undefined if the specified map is

(Map<? extends K, ? extends Long> m)

Source from the content-addressed store, hash-verified

243
244
245 public void putAll(Map<? extends K, ? extends Long> m) {
246 for (Map.Entry<? extends K, ? extends Long> entry : m.entrySet()) {
247 put(entry.getKey(), entry.getValue());
248 }
249 }
250
251 /**
252 * Removes and returns the value associated with {@code key}. If {@code key} is not in the map,

Callers

nothing calls this directly

Calls 4

putMethod · 0.95
entrySetMethod · 0.65
getKeyMethod · 0.65
getValueMethod · 0.65

Tested by

no test coverage detected