K - V - public class LRUCache<K,V>
extends java.util.LinkedHashMap<K,V>
Implementation of a Least Recently Used cache. Currently used by the ReflectionEngine to cache resolution of Java members.
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CACHE_SIZE |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
removeEldestEntry(java.util.Map.Entry<K,V> eldest) |
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, valuespublic static final int DEFAULT_CACHE_SIZE