Class 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