Package com.qiniu.android.dns.util
Class LruCache<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<K,V>
com.qiniu.android.dns.util.LruCache<K,V>
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<K,V>
public final class LruCache<K,V>
extends java.util.LinkedHashMap<K,V>
Created by bailong on 15/6/18.
- See Also:
- Serialized Form
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected booleanremoveEldestEntry(java.util.Map.Entry<K,V> eldest)Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesMethods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Constructor Details
-
Method Details