| Constructor and Description | 
|---|
| DummyCache() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear()Clear all entries in the cache. | 
| boolean | containsKey(K key)True if cache contains a specified key. | 
| V | get(K key)Retrieve a cached value. | 
| V | put(K key,
   V value)Add or replace a cached value. | 
| V | remove(K key)Remove a specific entry from the cache. | 
| int | size()Return current size of cache. | 
public void clear()
public boolean containsKey(K key)
containsKey in interface Cache<K,V>key - The key to look up.