Class TrackingMap<V>

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

public class TrackingMap<V> extends CaseInsensitiveMap<V> implements jakarta.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: