Package org.apache.cxf.jaxrs.impl
Class MetadataMap<K,V>
- java.lang.Object
-
- org.apache.cxf.jaxrs.impl.MetadataMap<K,V>
-
-
Constructor Summary
Constructors Constructor Description MetadataMap()
MetadataMap(boolean readOnly, boolean caseInsensitive)
MetadataMap(int size)
MetadataMap(Map<K,List<V>> store)
MetadataMap(Map<K,List<V>> store, boolean copy)
MetadataMap(Map<K,List<V>> store, boolean readOnly, boolean caseInsensitive)
MetadataMap(Map<K,List<V>> store, boolean copyStore, boolean readOnly, boolean caseInsensitive)
-
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> newValues)
void
addAll(K key, V... newValues)
void
addFirst(K key, V value)
void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set<Map.Entry<K,List<V>>>
entrySet()
boolean
equals(Object o)
boolean
equalsIgnoreValueOrder(javax.ws.rs.core.MultivaluedMap<K,V> map)
List<V>
get(Object key)
V
getFirst(K key)
int
hashCode()
boolean
isEmpty()
Set<K>
keySet()
List<V>
put(K key, List<V> value)
void
putAll(Map<? extends K,? extends List<V>> map)
void
putSingle(K key, V value)
List<V>
remove(Object key)
int
size()
String
toString()
Collection<List<V>>
values()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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 key)
- Specified by:
containsKey
in interfaceMap<K,V>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<K,V>
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object o)
-
addAll
@SafeVarargs public final void addAll(K key, V... newValues)
-
-