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 ofMultivaluedMapinterface- 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 voidadd(K k, V v)voidaddAll(K k, List<V> list)voidaddAll(K k, V... vs)voidaddFirst(K k, V v)voidclear()booleancontainsKey(Object o)booleancontainsValue(Object o)Set<Map.Entry<K,List<V>>>entrySet()booleanequalsIgnoreValueOrder(javax.ws.rs.core.MultivaluedMap<K,V> omap)List<V>get(Object key)VgetFirst(K key)booleanisEmpty()Set<K>keySet()List<V>put(K key, List<V> value)voidputAll(Map<? extends K,? extends List<V>> m)voidputSingle(K k, V v)List<V>remove(Object key)intsize()StringtoString()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:
containsKeyin interfaceMap<K,V>
-
containsValue
public boolean containsValue(Object o)
- Specified by:
containsValuein interfaceMap<K,V>
-
-