K
- cached typepublic class WeakCache<K> extends Object implements Serializable
Constructor and Description |
---|
WeakCache() |
@Nonnull public K cache(@Nonnull K s)
s
- the value to cachepublic boolean contains(K k)
k
- the key to checkpublic void clear()
Copyright © 2020 The University of Manchester. All rights reserved.