Package net.didion.jwnl.util.cache
Class LRUCacheSet
- java.lang.Object
-
- net.didion.jwnl.util.cache.CacheSet
-
- net.didion.jwnl.util.cache.LRUCacheSet
-
public class LRUCacheSet extends CacheSet
-
-
Field Summary
-
Fields inherited from class net.didion.jwnl.util.cache.CacheSet
DEFAULT_CACHE_CAPACITY
-
-
Constructor Summary
Constructors Constructor Description LRUCacheSet(java.lang.Object[] keys)
LRUCacheSet(java.lang.Object[] keys, int size)
LRUCacheSet(java.lang.Object[] keys, int[] sizes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Cache
createCache(int size)
-
Methods inherited from class net.didion.jwnl.util.cache.CacheSet
addCache, addCache, cacheObject, clearCache, getCache, getCacheCapacity, getCachedObject, getCacheSize, getSize, setCacheCapacity
-
-
-
-
Method Detail
-
createCache
protected Cache createCache(int size)
- Specified by:
createCache
in classCacheSet
-
-