Class NotNullHashMap<K,V>

  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by<K,V>
All Implemented Interfaces:
Serializable, Cloneable, Map<K,V>

public class NotNullHashMap<K,V>
extends HashMap<K,V>

HashMap that quietly rejects any value that is null

See Also:
Serialized Form

Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor Summary
Method Summary
 V put(K key, V value)
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
equals, hashCode

Constructor Detail


public NotNullHashMap()
Method Detail


public V put(K key,
             V value)
Specified by:
put in interface Map<K,V>
put in class HashMap<K,V>

Copyright © 2002-2014 Atlassian. All Rights Reserved.