Class ChangeNotifyMapWrapper

All Implemented Interfaces:
Collection, ConstCollection, ConstMap, Map, ChangeNotifyMap, ConstChangeNotifyMap

public class ChangeNotifyMapWrapper extends AbstractChangeNotifyMap
  • Constructor Details

    • ChangeNotifyMapWrapper

      public ChangeNotifyMapWrapper(Map map)
  • Method Details

    • getMap

      public Map getMap()
    • get

      public Object get(Object key)
      Description copied from interface: ConstMap
      Returns the value associated with the key.
      Parameters:
      key - the key
      Returns:
      the value associated with the key, null if no value is associated with the key
    • containsKey

      public boolean containsKey(Object key)
      Description copied from interface: ConstMap
      Returns true if this map contains the key.
      Parameters:
      key - the key
      Returns:
      true if this map contains the key
    • containsValue

      public boolean containsValue(Object value)
      Description copied from interface: ConstMap
      Returns true if this map contains the value.
      Parameters:
      value - the value
      Returns:
      true if this map contains the value
    • isEmpty

      public boolean isEmpty()
      Description copied from interface: ConstCollection
      Returns true if this collection is empty.
      Returns:
      true if this collection is empty
    • put

      public Object put(Object key, Object value)
      Description copied from interface: Map
      Associate a key with a value. This will overwrite any existing association.
      Parameters:
      key - the key
      value - the value
      Returns:
      the old value associated with this key, null if no value existed
    • remove

      public Object remove(Object key)
      Description copied from interface: Map
      Removes a key and it's value.
      Parameters:
      key - the key
      Returns:
      the value associated with the key, null if no value existed
    • clear

      public void clear()
      Description copied from interface: Collection
      Removes all elements from this collection..
    • iterator

      public MapIterator iterator()
      Description copied from interface: Map
      Returns an iterator for this map.
      Returns:
      an iterator for this map