Package org.jboss.resteasy.util
Class DelegatingMultivaluedMap<K,V>
- java.lang.Object
-
- org.jboss.resteasy.util.DelegatingMultivaluedMap<K,V>
-
- Type Parameters:
K
- The type of keys in the map.V
- The type of values in the lists in the map.
- Direct Known Subclasses:
PrefixedMultivaluedMap
public class DelegatingMultivaluedMap<K,V> extends Object implements jakarta.ws.rs.core.MultivaluedMap<K,V>
MultivaluedMap
implementation that delegates to another instance. Convenience class forMultivaluedMap
enhancements that don't want to implement all methods.
-
-
Constructor Summary
Constructors Constructor Description DelegatingMultivaluedMap(jakarta.ws.rs.core.MultivaluedMap<K,V> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(K key, V value)
void
addAll(K key, List<V> valueList)
void
addAll(K key, V... newValues)
void
addFirst(K key, V value)
void
clear()
boolean
containsKey(Object o)
boolean
containsValue(Object o)
Set<Map.Entry<K,List<V>>>
entrySet()
boolean
equals(Object o)
boolean
equalsIgnoreValueOrder(jakarta.ws.rs.core.MultivaluedMap<K,V> otherMap)
List<V>
get(Object o)
V
getFirst(K key)
int
hashCode()
boolean
isEmpty()
Set<K>
keySet()
List<V>
put(K k, List<V> vs)
void
putAll(Map<? extends K,? extends List<V>> map)
void
putSingle(K key, V value)
List<V>
remove(Object o)
int
size()
Collection<List<V>>
values()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object o)
- Specified by:
containsKey
in interfaceMap<K,V>
-
containsValue
public boolean containsValue(Object o)
- Specified by:
containsValue
in interfaceMap<K,V>
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
-