// This method can be used to initialize a downloaded dictionary public static synchronized void initializeDictionary(FieldDictionary dict) { int dictId = dict.getDictId(); if (dictId == 0) dictId = 1; // dictId == 0 is the same as dictId 1 DICTIONARIES.put(new Integer(dictId), dict); }