Package org.jboss.resteasy.specimpl
Class MultivaluedTreeMap<K,V>
java.lang.Object
org.jboss.resteasy.specimpl.MultivaluedTreeMap<K,V>
- All Implemented Interfaces:
jakarta.ws.rs.core.MultivaluedMap<K,
,V> Serializable
,Map<K,
List<V>>
- Direct Known Subclasses:
CaseInsensitiveMap
public class MultivaluedTreeMap<K,V>
extends Object
implements jakarta.ws.rs.core.MultivaluedMap<K,V>, Serializable
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionMultivaluedTreeMap
(Comparator<K> keyComparator) Used to create a CaseInsensitiveMap.MultivaluedTreeMap
(Map<K, V> map) -
Method Summary
Modifier and TypeMethodDescriptionvoid
static <K,
V> void addAll
(jakarta.ws.rs.core.MultivaluedMap<K, V> src, jakarta.ws.rs.core.MultivaluedMap<K, V> dest) void
void
void
void
clear()
clone()
static <K,
V> MultivaluedTreeMap<K, V> clone
(jakarta.ws.rs.core.MultivaluedMap<K, V> src) boolean
containsKey
(Object key) boolean
containsValue
(Object value) static <K,
V> void copy
(jakarta.ws.rs.core.MultivaluedMap<K, V> src, jakarta.ws.rs.core.MultivaluedMap<K, V> dest) entrySet()
boolean
boolean
equalsIgnoreValueOrder
(jakarta.ws.rs.core.MultivaluedMap<K, V> omap) int
hashCode()
boolean
isEmpty()
keySet()
void
void
int
size()
toString()
static String
Collection<List<V>>
values()
Methods inherited from class java.lang.Object
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
-
Constructor Details
-
MultivaluedTreeMap
public MultivaluedTreeMap() -
MultivaluedTreeMap
Used to create a CaseInsensitiveMap.- Parameters:
keyComparator
- key comparator
-
MultivaluedTreeMap
-
-
Method Details
-
add
-
getFirst
-
putSingle
-
clone
-
clone
-
copy
public static <K,V> void copy(jakarta.ws.rs.core.MultivaluedMap<K, V> src, jakarta.ws.rs.core.MultivaluedMap<K, V> dest) -
addAll
public static <K,V> void addAll(jakarta.ws.rs.core.MultivaluedMap<K, V> src, jakarta.ws.rs.core.MultivaluedMap<K, V> dest) -
toString
-
toString
-
clear
public void clear() -
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V>
-
containsValue
- Specified by:
containsValue
in interfaceMap<K,
V>
-
entrySet
-
equals
-
get
-
hashCode
public int hashCode() -
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-
addAll
-
addAll
-
addFirst
-
equalsIgnoreValueOrder
-