public class SynchronizedIntLRUCache<V> extends IntLRUCache<V>
| Constructor and Description |
|---|
SynchronizedIntLRUCache(int pCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
V |
get(int pKey) |
int |
getSize() |
boolean |
isEmpty() |
V |
put(int pKey,
V pValue) |
getCapacitypublic int getSize()
getSize in class IntLRUCache<V>public boolean isEmpty()
isEmpty in class IntLRUCache<V>public V put(int pKey, V pValue)
put in class IntLRUCache<V>public V get(int pKey)
get in class IntLRUCache<V>public void clear()
clear in class IntLRUCache<V>