K
- The type of keys in the map.V
- The type of values in the lists in the map.public class DelegatingMultivaluedMap<K,V> extends Object implements javax.ws.rs.core.MultivaluedMap<K,V>
MultivaluedMap
implementation that delegates to another instance.
Convenience class for MultivaluedMap
enhancements that don't want to implement all methods.Constructor and Description |
---|
DelegatingMultivaluedMap(javax.ws.rs.core.MultivaluedMap<K,V> delegate) |
Modifier and Type | Method and 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(javax.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() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public boolean containsKey(Object o)
containsKey
in interface Map<K,List<V>>
public boolean containsValue(Object o)
containsValue
in interface Map<K,List<V>>
public boolean equals(Object o)
public int hashCode()
Copyright © 2021 JBoss by Red Hat. All rights reserved.