MCPcopy Create free account
hub / github.com/Card-Forge/forge / addAll

Method addAll

forge-core/src/main/java/forge/util/ItemPool.java:212–216  ·  view source on GitHub ↗
(final Iterable<Entry<T, Integer>> map)

Source from the content-addressed store, hash-verified

210 }
211
212 public void addAll(final Iterable<Entry<T, Integer>> map) {
213 for (Entry<T, Integer> e : map) {
214 add(e.getKey(), e.getValue());
215 }
216 }
217
218 @SuppressWarnings("unchecked")
219 public <U extends InventoryItem> void addAllOfTypeFlat(final Iterable<U> itms) {

Callers 4

getCardPoolMethod · 0.95
combinerMethod · 0.45
getRandomNameMethod · 0.45
getCombinedListsMethod · 0.45

Calls 3

addMethod · 0.95
getKeyMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected