Package org.apache.myfaces.util.lang
Class AbstractAttributeMap<V>
- Direct Known Subclasses:
CookieMap
,InitParameterMap
,RequestHeaderMap
,RequestHeaderValuesMap
,RequestMap
,RequestParameterMap
,RequestParameterValuesMap
Helper Map implementation for use with different Attribute Maps.
- Version:
- $Revision$ $Date$
- Author:
- Anton Koinov (latest modification by $Author$)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
final boolean
containsKey
(Object key) boolean
containsValue
(Object findValue) entrySet()
protected abstract V
getAttribute
(String key) protected abstract Enumeration<String>
boolean
isEmpty()
keySet()
final V
void
final V
protected abstract void
removeAttribute
(String key) protected abstract void
setAttribute
(String key, V value) int
size()
values()
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
AbstractAttributeMap
public AbstractAttributeMap()
-
-
Method Details
-
clear
public void clear() -
containsKey
- Specified by:
containsKey
in interfaceMap<String,
V> - Overrides:
containsKey
in classAbstractMap<String,
V>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
V> - Overrides:
containsValue
in classAbstractMap<String,
V>
-
entrySet
-
get
-
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-
getAttribute
-
setAttribute
-
removeAttribute
-
getAttributeNames
-