org.apache.myfaces.extensions.cdi.core.impl.util
Class UnmodifiableMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
org.apache.myfaces.extensions.cdi.core.impl.util.UnmodifiableMap<K,V>
- All Implemented Interfaces:
- Serializable, Cloneable, Map<K,V>
public abstract class UnmodifiableMap<K,V>
- extends HashMap<K,V>
Helper for the JSF-Map trick in case of expressions which are read-only.
- Author:
- Gerhard Petracek
- See Also:
- Serialized Form
UnmodifiableMap
public UnmodifiableMap()
put
public final V put(K key,
V value)
- Specified by:
put
in interface Map<K,V>
- Overrides:
put
in class HashMap<K,V>
putAll
public final 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 final V remove(Object key)
- Specified by:
remove
in interface Map<K,V>
- Overrides:
remove
in class HashMap<K,V>
clear
public final void clear()
- Specified by:
clear
in interface Map<K,V>
- Overrides:
clear
in class HashMap<K,V>
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.