Class SingleValueMap
java.lang.Object
webwork.action.SingleValueMap
- All Implemented Interfaces:
Serializable, Map
A Map that can be used to wrap a map whose values are object arrays. This wrapper will then allow one to access only
the first object of those arrays.
A common usage is to use this wrap the Map received through the ParameterAware interface.
- Author:
- Rickard Öberg (rickard@middleware-company.com)
- See Also:
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanisEmpty()keySet()voidintsize()values()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
SingleValueMap
-
-
Method Details
-
size
-
isEmpty
-
containsKey
- Specified by:
containsKeyin interfaceMap
-
containsValue
- Specified by:
containsValuein interfaceMap
-
get
-
put
-
remove
-
putAll
-
clear
-
keySet
-
entrySet
-
values
-