クラス LruCache<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<K,V>
org.nkjmlab.util.java.collections.LruCache<K,V>
- すべての実装されたインタフェース:
Serializable
,Cloneable
,Map<K,
V>
- 関連項目:
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
コンストラクタの概要
-
メソッドの概要
クラスから継承されたメソッド java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values
クラスから継承されたメソッド java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
クラスから継承されたメソッド java.util.AbstractMap
equals, hashCode, toString
インタフェースから継承されたメソッド java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
コンストラクタの詳細
-
LruCache
public LruCache(int maxSize) Creates LRU cache which is the given max size.- パラメータ:
maxSize
-
-
-
メソッドの詳細
-
removeEldestEntry
- オーバーライド:
removeEldestEntry
クラス内LinkedHashMap<K,
V>
-