MCPcopy Create free account
hub / github.com/PCGen/pcgen / addAll

Method addAll

code/src/java/pcgen/cdom/facet/SpellBookFacet.java:118–124  ·  view source on GitHub ↗

Adds all of the SpellBooks in the given Collection to the list of SpellBooks stored in this SpellBookFacet for the Player Character represented by the given CharID. @param id The CharID representing the Player Character for which the given SpellBooks should be added @param lis

(CharID id, Collection<SpellBook> list)

Source from the content-addressed store, hash-verified

116 * if the given Collection is null
117 */
118 public void addAll(CharID id, Collection<SpellBook> list)
119 {
120 for (SpellBook sb : list)
121 {
122 add(id, sb);
123 }
124 }
125
126 /**
127 * Add the given SpellBook to the list of SpellBooks stored in this

Callers 1

copyContentsMethod · 0.95

Calls 1

addMethod · 0.95

Tested by

no test coverage detected