コード例 #1
0
 public static void removeLanguage(Language language) {
   languageList.remove(language);
   languageById.remove(language.getLanguageId());
   languageByCode.remove(language.getCode());
 }
コード例 #2
0
 public static void addLanguage(Language language) {
   languageList.add(language);
   languageById.put(language.getLanguageId(), language);
   languageByCode.put(language.getCode(), language);
 }