public class Cache<KeyType,ValueType>
extends java.lang.Object
| Constructor and Description |
|---|
Cache(int size)
_more_
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
_more_
|
ValueType |
get(KeyType key)
_more_
|
ValueType |
getAndRemove(KeyType key) |
void |
put(KeyType key,
ValueType value)
_more_
|
protected void |
removeValue(KeyType key,
ValueType object)
_more_
|