public class LRUMap<K,V>
extends java.util.LinkedHashMap<K,V>
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_INITIAL_CAPACITY |
protected static float |
DEFAULT_LOAD_FACTOR |
| Constructor and Description |
|---|
LRUMap(int maximumSize) |
LRUMap(int maximumSize,
boolean accessOrder) |
LRUMap(int initialCapacity,
float loadFactor,
boolean accessOrder,
int maximumSize) |
| 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, valuesprotected static final float DEFAULT_LOAD_FACTOR
protected static final int DEFAULT_INITIAL_CAPACITY
Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.