Class WeakCache

java.lang.Object
java.util.AbstractMap
com.thoughtworks.xstream.core.util.WeakCache
All Implemented Interfaces:
Map

public class WeakCache extends AbstractMap
A HashMap implementation with weak references values and by default for the key. When the value is garbage collected, the key will also vanish from the map.
Since:
1.4