K
- the type of keys maintained by this mapV
- the type of mapped values which can contain null
valuespublic class NullableMultivaluedHashMap<K,V> extends MultivaluedHashMap<K,V>
MultivaluedMap
where values can be null
.store
Constructor and Description |
---|
NullableMultivaluedHashMap() |
NullableMultivaluedHashMap(int initialCapacity) |
NullableMultivaluedHashMap(int initialCapacity,
float loadFactor) |
NullableMultivaluedHashMap(MultivaluedMap<? extends K,? extends V> map) |
Modifier and Type | Method and Description |
---|---|
protected void |
addFirstNull(List<V> values) |
protected void |
addNull(List<V> values) |
add, addAll, addAll, addFirst, clear, containsKey, containsValue, entrySet, equals, equalsIgnoreValueOrder, get, getFirst, getValues, hashCode, isEmpty, keySet, put, putAll, putSingle, remove, size, toString, values
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public NullableMultivaluedHashMap()
public NullableMultivaluedHashMap(int initialCapacity)
public NullableMultivaluedHashMap(int initialCapacity, float loadFactor)
public NullableMultivaluedHashMap(MultivaluedMap<? extends K,? extends V> map)
protected void addFirstNull(List<V> values)
addFirstNull
in class AbstractMultivaluedMap<K,V>
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.