org.jgap.util
Class LRUCache
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap
-
- org.jgap.util.LRUCache
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map
public class LRUCache extends java.util.LinkedHashMap- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description LRUCache(int a_maxExtries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanremoveEldestEntry(java.util.Map.Entry eldest)-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values
-
-
DMelt 3.0 © DataMelt by jWork.ORG