Class SoftHashMap<K,V>

java.lang.Object
java.util.AbstractMap<K,V>
org.biojava.nbio.core.util.SoftHashMap<K,V>
All Implemented Interfaces:
Map<K,V>

public class SoftHashMap<K,V> extends AbstractMap<K,V>
A in memory cache using soft references. (can be garbage collected) This code is based on: http://java-interview-faqs.blogspot.com/2008/09/building-faster-and-efficient-cache.html