コード例 #1
0
 public void setCacheCapacity(int size) {
   for (Iterator itr = DictionaryElementType.getAllDictionaryElementTypes().iterator();
       itr.hasNext(); ) {
     setCacheCapacity((DictionaryElementType) itr.next(), size);
   }
 }
コード例 #2
0
 public void clearCache() {
   for (Iterator itr = DictionaryElementType.getAllDictionaryElementTypes().iterator();
       itr.hasNext(); ) {
     clearCache((DictionaryElementType) itr.next());
   }
 }
コード例 #3
0
 public DictionaryCacheSet(int[] sizes) {
   super(DictionaryElementType.getAllDictionaryElementTypes().toArray(), sizes);
   initLemmaToOffsetMaps();
 }