Class SoftHashMap

  • All Implemented Interfaces:
    Map

    public class SoftHashMap
    extends AbstractMap
    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