Class TrackingMap<V>

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

@Deprecated(forRemoval=true, since="6.2.13.Final") public class TrackingMap<V> extends CaseInsensitiveMap<V> implements jakarta.ws.rs.core.MultivaluedMap<String,V>, Cloneable
Deprecated, for removal: This API element is subject to removal in a future version.
use the new dependencies and packages to avoid split packages
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:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface java.util.Map

    Map.Entry<K,V>
  • Field Summary

    Fields inherited from class org.jboss.resteasy.util.CaseInsensitiveMap

    CASE_INSENSITIVE_ORDER
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(String key, V value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    addAll(String key, List<V> valueList)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    addAll(String key, V... newValues)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    addFirst(String key, V value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    compute(String key, BiFunction<? super String,? super List<V>,? extends List<V>> remappingFunction)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    computeIfAbsent(String key, Function<? super String,? extends List<V>> mappingFunction)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    computeIfPresent(String key, BiFunction<? super String,? super List<V>,? extends List<V>> remappingFunction)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    equalsIgnoreValueOrder(jakarta.ws.rs.core.MultivaluedMap<String,V> omap)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    forEach(BiConsumer<? super String,? super List<V>> action)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    get(Object key)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    getOrDefault(Object key, List<V> defaultValue)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    merge(String key, List<V> value, BiFunction<? super List<V>,? super List<V>,? extends List<V>> remappingFunction)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    put(String key, List<V> value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    putAll(Map<? extends String,? extends List<V>> t)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    putIfAbsent(String key, List<V> value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    putSingle(String key, V value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    remove(Object key, Object value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    replace(String key, List<V> value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    replace(String key, List<V> oldValue, List<V> newValue)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    replaceAll(BiFunction<? super String,? super List<V>,? extends List<V>> function)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class org.jboss.resteasy.specimpl.MultivaluedTreeMap

    addAll, clone, copy, toString

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait