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 javax.ws.rs.core.MultivaluedMap<K,V>
MultivaluedMapimplementation that delegates to another instance. Convenience class forMultivaluedMapenhancements that don't want to implement all methods.
-
-
Constructor Summary
Constructors Constructor Description DelegatingMultivaluedMap(javax.ws.rs.core.MultivaluedMap<K,V> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(K key, V value)voidaddAll(K key, List<V> valueList)voidaddAll(K key, V... newValues)voidaddFirst(K key, V value)voidclear()booleancontainsKey(Object o)booleancontainsValue(Object o)Set<Map.Entry<K,List<V>>>entrySet()booleanequals(Object o)booleanequalsIgnoreValueOrder(javax.ws.rs.core.MultivaluedMap<K,V> otherMap)List<V>get(Object o)VgetFirst(K key)inthashCode()booleanisEmpty()Set<K>keySet()List<V>put(K k, List<V> vs)voidputAll(Map<? extends K,? extends List<V>> map)voidputSingle(K key, V value)List<V>remove(Object o)intsize()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:
containsKeyin interfaceMap<K,V>
-
containsValue
public boolean containsValue(Object o)
- Specified by:
containsValuein interfaceMap<K,V>
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
-