Package org.apache.myfaces.util.lang
Class AbstractThreadSafeAttributeMap<V>
- Direct Known Subclasses:
ApplicationMap,SessionMap
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 TypeMethodDescriptionvoidclear()final booleancontainsKey(Object key) booleancontainsValue(Object findValue) entrySet()protected abstract VgetAttribute(String key) protected abstract Enumeration<String>booleanisEmpty()keySet()final Vvoidfinal Vprotected abstract voidremoveAttribute(String key) protected abstract voidsetAttribute(String key, V value) intsize()values()Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
AbstractThreadSafeAttributeMap
public AbstractThreadSafeAttributeMap()
-
-
Method Details
-
clear
public void clear() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,V> - Overrides:
containsKeyin classAbstractMap<String,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,V> - Overrides:
containsValuein classAbstractMap<String,V>
-
entrySet
-
get
-
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-
getAttribute
-
setAttribute
-
removeAttribute
-
getAttributeNames
-