Class AbstractCachingDictionary.ObservableCache

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap
net.didion.jwnl.util.cache.LRUCache
net.didion.jwnl.dictionary.AbstractCachingDictionary.ObservableCache
All Implemented Interfaces:
Serializable, Cloneable, Map, Cache
Enclosing class:
AbstractCachingDictionary

private static final class AbstractCachingDictionary.ObservableCache extends LRUCache
  • Field Details

  • Constructor Details

    • ObservableCache

      public ObservableCache(int capacity)
  • Method Details

    • addObserver

      public void addObserver(Observer obs)
    • remove

      public Object remove(Object key)
      Description copied from interface: Cache
      Remotes the object associated with key and returns that object.
      Specified by:
      remove in interface Cache
      Specified by:
      remove in interface Map
      Overrides:
      remove in class HashMap