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
ConstructorsConstructorDescriptionMultivaluedTreeMap(Comparator<K> keyComparator) Used to create a CaseInsensitiveMap.MultivaluedTreeMap(Map<K, V> map) -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic <K,V> void addAll(jakarta.ws.rs.core.MultivaluedMap<K, V> src, jakarta.ws.rs.core.MultivaluedMap<K, V> dest) voidvoidvoidvoidclear()clone()static <K,V> MultivaluedTreeMap <K, V> clone(jakarta.ws.rs.core.MultivaluedMap<K, V> src) booleancontainsKey(Object key) booleancontainsValue(Object value) static <K,V> void copy(jakarta.ws.rs.core.MultivaluedMap<K, V> src, jakarta.ws.rs.core.MultivaluedMap<K, V> dest) entrySet()booleanbooleanequalsIgnoreValueOrder(jakarta.ws.rs.core.MultivaluedMap<K, V> omap) inthashCode()booleanisEmpty()keySet()voidvoidintsize()toString()static StringCollection<List<V>> values()Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
containsKeyin interfaceMap<K,V>
-
containsValue
- Specified by:
containsValuein 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
-