Class MapWrapper<K,​V>

  • Type Parameters:
    K - the type of keys maintained by this map
    V - the type of mapped values
    All Implemented Interfaces:
    Serializable, Map<K,​V>

    public class MapWrapper<K,​V>
    extends Object
    implements Map<K,​V>, Serializable
    Implementation of Map that wraps another map. This allows interception of one or more method on this wrapped map.
    Author:
    Arjan Tijms
    See Also:
    Serialized Form
    • Constructor Detail

      • MapWrapper

        public MapWrapper​(Map<K,​V> map)
        Initializes the wrapper with its wrapped map.
        Parameters:
        map - the map to wrap.