Package com.webmethods.caf.faces.context
Class BaseAttributeMap<K,V>
java.lang.Object
com.webmethods.caf.faces.context.BaseAttributeMap<K,V>
- All Implemented Interfaces:
Map<K,
V>
- Direct Known Subclasses:
PortletFacesContext.PortletExternalContext.ApplicationAttributeMap
,PortletFacesContext.PortletExternalContext.PortletInitParameterMap
,PortletFacesContext.PortletExternalContext.RequestAttributeMap
,PortletFacesContext.PortletExternalContext.RequestHeaderMap
,PortletFacesContext.PortletExternalContext.RequestHeaderValuesMap
,PortletFacesContext.PortletExternalContext.RequestParameterMap
,PortletFacesContext.PortletExternalContext.RequestParameterValuesMap
,PortletFacesContext.PortletExternalContext.SessionAttributeMap
,PortletFacesContext.PortletExternalContext.WebAppInitParameterMap
Base class for adapting property bags like ServletContext attributes
to the Map interface.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
isEmpty()
void
int
size()
toString()
Returns a string representation of this map.values()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, get, getOrDefault, hashCode, keySet, merge, put, putIfAbsent, remove, remove, replace, replace, replaceAll
-
Constructor Details
-
BaseAttributeMap
public BaseAttributeMap()
-
-
Method Details
-
size
public int size() -
clear
public void clear() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V>
-
containsValue
- Specified by:
containsValue
in interfaceMap<K,
V>
-
values
-
putAll
-
entrySet
-
toString
Returns a string representation of this map. The string representation consists of a list of key-value mappings in the order returned by the map's entrySet view's iterator, enclosed in braces ("{}"). Adjacent mappings are separated by the characters ", " (comma and space). Each key-value mapping is rendered as the key followed by an equals sign ("=") followed by the associated value. Keys and values are converted to strings as byString.valueOf(Object)
.
-