public void setCacheCapacity(int size) { for (Iterator itr = DictionaryElementType.getAllDictionaryElementTypes().iterator(); itr.hasNext(); ) { setCacheCapacity((DictionaryElementType) itr.next(), size); } }
public void clearCache() { for (Iterator itr = DictionaryElementType.getAllDictionaryElementTypes().iterator(); itr.hasNext(); ) { clearCache((DictionaryElementType) itr.next()); } }
public DictionaryCacheSet(int[] sizes) { super(DictionaryElementType.getAllDictionaryElementTypes().toArray(), sizes); initLemmaToOffsetMaps(); }