K
- the type of keys maintained by this mapV
- the type of mapped valuespublic class SoftCache<K,V> extends Object
WeakHashMap
in which the values are soft references.Constructor and Description |
---|
SoftCache() |
public V get(K key)
key
- the entry keypublic V get(K key, V defaultValue)
key
- the entry keydefaultValue
- the default valueCopyright © 2004–2022 XWiki. All rights reserved.