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 containnullvalues
- 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, valuesMethods inherited from class java.lang.Object
clone, 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
-
NullableMultivaluedHashMap
public NullableMultivaluedHashMap() -
NullableMultivaluedHashMap
public NullableMultivaluedHashMap(int initialCapacity) -
NullableMultivaluedHashMap
public NullableMultivaluedHashMap(int initialCapacity, float loadFactor) -
NullableMultivaluedHashMap
-
-
Method Details
-
addFirstNull
- Overrides:
addFirstNullin classAbstractMultivaluedMap<K,V>
-
addNull
- Overrides:
addNullin classAbstractMultivaluedMap<K,V>
-