Returns a non-null Collection of SpellBook names in this SpellBookFacet for the Player Character represented by the given CharID. This method returns an empty Set if no SpellBooks are in this SpellBookFacet for the Player Character identified by the given CharID. This method is value-semantic in th
(CharID id)
| 248 | * the Player Character represented by the given CharID |
| 249 | */ |
| 250 | public Collection<String> getBookNames(CharID id) |
| 251 | { |
| 252 | Map<String, SpellBook> componentMap = getCachedMap(id); |
| 253 | if (componentMap == null) |
| 254 | { |
| 255 | return Collections.emptySet(); |
| 256 | } |
| 257 | return Collections.unmodifiableSet(componentMap.keySet()); |
| 258 | } |
| 259 | |
| 260 | /** |
| 261 | * Returns a non-null copy of the Collection of SpellBooks in this |
no test coverage detected