Class NullableMultivaluedHashMap<K,V>
- java.lang.Object
-
- javax.ws.rs.core.AbstractMultivaluedMap<K,V>
-
- javax.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:
java.io.Serializable
,java.util.Map<K,java.util.List<V>>
,javax.ws.rs.core.MultivaluedMap<K,V>
public class NullableMultivaluedHashMap<K,V> extends javax.ws.rs.core.MultivaluedHashMap<K,V>
An implementation ofMultivaluedMap
where values can benull
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NullableMultivaluedHashMap()
NullableMultivaluedHashMap(int initialCapacity)
NullableMultivaluedHashMap(int initialCapacity, float loadFactor)
NullableMultivaluedHashMap(javax.ws.rs.core.MultivaluedMap<? extends K,? extends V> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addFirstNull(java.util.List<V> values)
protected void
addNull(java.util.List<V> values)
-
Methods inherited from class javax.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
-
-