public class NoNullValueHashMap<K,V>
extends java.util.HashMap<K,V>
implements java.util.Map<K,V>
Allows null values
,
Synchronized and throws exception
if put with null for value.
,
Serialized FormConstructor and Description |
---|
NoNullValueHashMap()
Constructor
|
NoNullValueHashMap(int initialCapacity)
Constructor
|
NoNullValueHashMap(int initialCapacity,
float loadFactor)
Constructor
|
NoNullValueHashMap(java.util.Map<K,V> m)
Constructor
|
Modifier and Type | Method and Description |
---|---|
V |
put(K key,
V value) |
public NoNullValueHashMap()
public NoNullValueHashMap(int initialCapacity)
initialCapacity
- public NoNullValueHashMap(int initialCapacity, float loadFactor)
initialCapacity
- loadFactor
-