K - cached typepublic class WeakCache<K> extends Object implements Serializable
| Constructor and Description |
|---|
WeakCache() |
| Modifier and Type | Method and Description |
|---|---|
K |
cache(K s) |
void |
clear()
empty the cache.
|
boolean |
contains(K k) |
public boolean contains(K k)
k - the key to checkpublic void clear()
Copyright © 2014 The University of Manchester. All Rights Reserved.