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