public abstract class AbstractCachingDictionary extends Dictionary
Dictionary
to provide caching of elements.Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
void |
clearCache(DictionaryElementType elementType) |
int |
getCacheCapacity(DictionaryElementType type) |
int |
getCacheSizes(DictionaryElementType type) |
boolean |
isCachingEnabled() |
void |
setCacheCapacity(DictionaryElementType type,
int size) |
void |
setCacheCapacity(int size) |
void |
setCachingEnabled(boolean cachingEnabled) |
close, getException, getExceptionIterator, getIndexWord, getIndexWordIterator, getIndexWordIterator, getInstance, getMorphologicalProcessor, getRandomIndexWord, getSenseKey, getSynsetAt, getSynsetIterator, getUsageCount, lookupAllIndexWords, lookupIndexWord, resetDictionary, uninstall
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
install
public boolean isCachingEnabled()
public void setCachingEnabled(boolean cachingEnabled)
public int getCacheSizes(DictionaryElementType type)
public int getCacheCapacity(DictionaryElementType type)
public void setCacheCapacity(int size)
public void setCacheCapacity(DictionaryElementType type, int size)
public void clearCache()
public void clearCache(DictionaryElementType elementType)