Class TrackingMap<V>

  • All Implemented Interfaces:
    Serializable, Cloneable, Map<String,​List<V>>, javax.ws.rs.core.MultivaluedMap<String,​V>

    public class TrackingMap<V>
    extends CaseInsensitiveMap<V>
    implements javax.ws.rs.core.MultivaluedMap<String,​V>, Cloneable
    A decorator class to track changes to the underlying map. Tracks the keys that are either added/replaced/modified in addedOrUpdatedKeys. Tracks the keys that are removed in removedKeys.

    Known Limitation: The get and getFirst methods returns the list(since this is an instance of MultivaluedMap) value of the given key. Any direct changes to the underlying list will not be tracked.

    See Also:
    Serialized Form