KEY - The key of element.VALUE - The value of element.public class LruHashMap<KEY,VALUE> extends LinkedHashMap<KEY,VALUE>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected static int |
DEFAULT_INITIAL_CAPACITY |
protected static float |
DEFAULT_LOAD_FACTOR |
protected int |
limitSize |
| コンストラクタと説明 |
|---|
LruHashMap(int limitSize) |
LruHashMap(int limitSize,
int initialCapacity,
float loadFactor) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getLimitSize() |
protected boolean |
removeEldestEntry(Map.Entry<KEY,VALUE> entry) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeprotected static final int DEFAULT_INITIAL_CAPACITY
protected static final float DEFAULT_LOAD_FACTOR
protected int limitSize
public LruHashMap(int limitSize)
public LruHashMap(int limitSize,
int initialCapacity,
float loadFactor)
public int getLimitSize()
protected boolean removeEldestEntry(Map.Entry<KEY,VALUE> entry)
removeEldestEntry クラス内 LinkedHashMap<KEY,VALUE>Copyright © 2015 The DBFlute Project. All rights reserved.