org.jboss.aop.util
Class UnmodifiableLinkedHashMap<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.aop.util.UnmodifiableLinkedHashMap<K,V>
All Implemented Interfaces:
Serializable, Cloneable, Map<K,V>

public class UnmodifiableLinkedHashMap<K,V>
extends LinkedHashMap<K,V>

Version:
$Revision: 1.1 $
Author:
Kabir Khan
See Also:
Serialized Form

Constructor Summary
UnmodifiableLinkedHashMap(LinkedHashMap<K,V> map)
           
 
Method Summary
 void clear()
           
 V put(K key, V value)
           
 void putAll(Map<? extends K,? extends V> m)
           
 V remove(Object key)
           
 
Methods inherited from class java.util.LinkedHashMap
containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, 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, size, values
 

Constructor Detail

UnmodifiableLinkedHashMap

public UnmodifiableLinkedHashMap(LinkedHashMap<K,V> map)
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<K,V>
Overrides:
clear in class LinkedHashMap<K,V>

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>

remove

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


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.