JBoss Metadata Common 7.0.1.Final

org.jboss.metadata.javaee.support
Class NonNullLinkedHashMap<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<K,V>
              extended by org.jboss.metadata.javaee.support.NonNullLinkedHashMap<K,V>
Type Parameters:
K - the key type
V - the value type
All Implemented Interfaces:
Serializable, Cloneable, Map<K,V>

public class NonNullLinkedHashMap<K,V>
extends LinkedHashMap<K,V>
implements Serializable

NonNullLinkedhashMap

Version:
$Revision: 1.1 $
Author:
Adrian Brock
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
NonNullLinkedHashMap()
          Create a new NonNullLinkedHashMap.
 
Method Summary
 V put(K key, V value)
           
 void putAll(Map<? extends K,? extends V> m)
           
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, 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
containsKey, entrySet, equals, hashCode, isEmpty, keySet, remove, size, values
 

Constructor Detail

NonNullLinkedHashMap

public NonNullLinkedHashMap()
Create a new NonNullLinkedHashMap.

Method Detail

put

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

putAll

public void putAll(Map<? extends K,? extends V> m)
Specified by:
putAll in interface Map<K,V>
Overrides:
putAll in class HashMap<K,V>

JBoss Metadata Common 7.0.1.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.