public class LRUCache<K,V> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected LinkedHashMap<K,V> |
cache |
protected int |
sizeLimit |
| Constructor and Description |
|---|
LRUCache(int size) |
LRUCache(int sizeLimit,
int initialCapacity) |
protected final int sizeLimit
protected final LinkedHashMap<K,V> cache
Copyright © 2017. All rights reserved.