()
| 66 | } |
| 67 | |
| 68 | public void preloadTokens() { |
| 69 | for (CardEdition edition : this.editions) { |
| 70 | for (Map.Entry<String, Collection<CardEdition.EditionEntry>> inSet : edition.getTokens().asMap().entrySet()) { |
| 71 | String name = inSet.getKey(); |
| 72 | String fullName = String.format("%s_%s", name, edition.getCode().toLowerCase()); |
| 73 | for (CardEdition.EditionEntry t : inSet.getValue()) { |
| 74 | allTokenByName.put(fullName, addTokenInSet(edition, name, t)); |
| 75 | } |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | protected boolean loadTokenFromSet(CardEdition edition, String name) { |
| 81 | String fullName = String.format("%s_%s", name, edition.getCode().toLowerCase()); |
no test coverage detected