public void cacheObject(DictionaryElementType fileType, Object key, Object value) {
   if (value instanceof IndexWord) {
     IndexWord word = (IndexWord) value;
     getMap(DictionaryElementType.INDEX_WORD)
         .put(new POSKey(word.getPOS(), word.getLemma()), key);
   } else if (value instanceof Exc) {
     Exc exc = (Exc) value;
     getMap(DictionaryElementType.EXCEPTION).put(new POSKey(exc.getPOS(), exc.getLemma()), key);
   }
   super.cacheObject(fileType, key, value);
 }
 public void clearCache(DictionaryElementType fileType) {
   Map m = getMap(fileType);
   if (m != null) m.clear();
   super.clearCache(fileType);
 }