Package de.inetsoftware.classparser
Class WeakValueCache<K,V>
- java.lang.Object
-
- de.inetsoftware.classparser.WeakValueCache<K,V>
-
- Type Parameters:
K
- the key typeV
- the value type
public class WeakValueCache<K,V> extends java.lang.Object
A simple cache for weak values.
-
-
Constructor Summary
Constructors Constructor Description WeakValueCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
get(K key)
Get the value if in the cachevoid
put(K key, V value)
Put a value
-