Package org.jboss.resteasy.specimpl
Class UnmodifiableMultivaluedMap<K,V>
- java.lang.Object
-
- org.jboss.resteasy.specimpl.UnmodifiableMultivaluedMap<K,V>
-
public class UnmodifiableMultivaluedMap<K,V> extends Object implements javax.ws.rs.core.MultivaluedMap<K,V>
Unmodifiable implementation ofMultivaluedMap
interface- Version:
- $Revision: 1 $
- Author:
- Martin Stefanko
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableMultivaluedMap(javax.ws.rs.core.MultivaluedMap<K,V> delegate)
UnmodifiableMultivaluedMap(javax.ws.rs.core.MultivaluedMap<K,V> delegate, boolean eagerlyInitializeEntrySet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(K k, V v)
void
addAll(K k, List<V> list)
void
addAll(K k, V... vs)
void
addFirst(K k, V v)
void
clear()
boolean
containsKey(Object o)
boolean
containsValue(Object o)
Set<Map.Entry<K,List<V>>>
entrySet()
boolean
equalsIgnoreValueOrder(javax.ws.rs.core.MultivaluedMap<K,V> omap)
List<V>
get(Object key)
V
getFirst(K key)
boolean
isEmpty()
Set<K>
keySet()
List<V>
put(K key, List<V> value)
void
putAll(Map<? extends K,? extends List<V>> m)
void
putSingle(K k, V v)
List<V>
remove(Object key)
int
size()
String
toString()
Collection<List<V>>
values()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
equalsIgnoreValueOrder
public boolean equalsIgnoreValueOrder(javax.ws.rs.core.MultivaluedMap<K,V> omap)
-
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>
-
-