K
- key typeV
- value typeSerializable
public class WeakIndexCache<K,V> extends Object implements Serializable
Constructor | 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 © 2018 The University of Manchester. All rights reserved.