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

Method getCachedMap

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

Returns the type-safe Map for this SpellBookFacet and the given CharID. May return null if no information has been set in this SpellBookFacet for the given CharID. Note that this method SHOULD NOT be public. The Map is owned by SpellBookFacet, and since it can be modified, a reference to that objec

(CharID id)

Source from the content-addressed store, hash-verified

175 * AbstractSourcedListFacet for the Player Character.
176 */
177 private Map<String, SpellBook> getCachedMap(CharID id)
178 {
179 return (Map<String, SpellBook>) getCache(id);
180 }
181
182 /**
183 * Returns a type-safe Map for this SpellBookFacet and the given CharID.

Callers 8

getBookNamedMethod · 0.95
getBookNamesMethod · 0.95
getBooksMethod · 0.95
containsBookNamedMethod · 0.95
getCountMethod · 0.95
removeBookNamedMethod · 0.95
copyContentsMethod · 0.95

Calls 1

getCacheMethod · 0.80

Tested by

no test coverage detected