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

Method putAll

corpus/java/training/guava/collect/TreeRangeMap.java:133–138  ·  view source on GitHub ↗
(RangeMap<K, V> rangeMap)

Source from the content-addressed store, hash-verified

131 }
132
133 @Override
134 public void putAll(RangeMap<K, V> rangeMap) {
135 for (Map.Entry<Range<K>, V> entry : rangeMap.asMapOfRanges().entrySet()) {
136 put(entry.getKey(), entry.getValue());
137 }
138 }
139
140 @Override
141 public void clear() {

Callers

nothing calls this directly

Calls 6

putMethod · 0.95
entrySetMethod · 0.65
asMapOfRangesMethod · 0.65
getKeyMethod · 0.65
getValueMethod · 0.65
isEmptyMethod · 0.65

Tested by

no test coverage detected