public class LRUCache<K,V>
extends java.lang.Object
| Constructor and Description |
|---|
LRUCache(int pCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
V |
get(K pKey) |
int |
getCapacity() |
int |
getSize() |
boolean |
isEmpty() |
V |
put(K pKey,
V pValue) |