Returns a non-null copy of the Set of PCClass objects in this ClassFacet for the Player Character represented by the given CharID. This method returns an empty Set if no objects are in this ClassFacet for the Player Character identified by the given CharID. This method is value-semantic in that own
(CharID id)
| 234 | * Player Character represented by the given CharID |
| 235 | */ |
| 236 | @Override |
| 237 | public Set<PCClass> getSet(CharID id) |
| 238 | { |
| 239 | ClassInfo info = getClassInfo(id); |
| 240 | if (info == null) |
| 241 | { |
| 242 | return Collections.emptySet(); |
| 243 | } |
| 244 | return info.getClassSet(); |
| 245 | } |
| 246 | |
| 247 | /** |
| 248 | * Returns the count of PCClass objects in this ClassFacet for the Player |
nothing calls this directly
no test coverage detected