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.ObjectA simple cache for weak values.
-
-
Constructor Summary
Constructors Constructor Description WeakValueCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vget(K key)Get the value if in the cachevoidput(K key, V value)Put a value
-