Class NullableMultivaluedHashMap<K,V>
java.lang.Object
jakarta.ws.rs.core.AbstractMultivaluedMap<K,V>
jakarta.ws.rs.core.MultivaluedHashMap<K,V>
org.glassfish.jersey.internal.util.collection.NullableMultivaluedHashMap<K,V>
- Type Parameters:
K
- the type of keys maintained by this mapV
- the type of mapped values which can containnull
values
- All Implemented Interfaces:
MultivaluedMap<K,
,V> Serializable
,Map<K,
List<V>>
An implementation of
MultivaluedMap
where values can be null
.- Author:
- Petr Bouda
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class jakarta.ws.rs.core.AbstractMultivaluedMap
store
-
Constructor Summary
ConstructorsConstructorDescriptionNullableMultivaluedHashMap
(int initialCapacity) NullableMultivaluedHashMap
(int initialCapacity, float loadFactor) NullableMultivaluedHashMap
(MultivaluedMap<? extends K, ? extends V> map) -
Method Summary
Methods inherited from class jakarta.ws.rs.core.AbstractMultivaluedMap
add, addAll, addAll, addFirst, clear, containsKey, containsValue, entrySet, equals, equalsIgnoreValueOrder, get, getFirst, getValues, hashCode, isEmpty, keySet, put, putAll, putSingle, remove, size, toString, 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
-
Constructor Details
-
NullableMultivaluedHashMap
public NullableMultivaluedHashMap() -
NullableMultivaluedHashMap
public NullableMultivaluedHashMap(int initialCapacity) -
NullableMultivaluedHashMap
public NullableMultivaluedHashMap(int initialCapacity, float loadFactor) -
NullableMultivaluedHashMap
-
-
Method Details
-
addFirstNull
- Overrides:
addFirstNull
in classAbstractMultivaluedMap<K,
V>
-
addNull
- Overrides:
addNull
in classAbstractMultivaluedMap<K,
V>
-