public class

SingleValueMap

extends Object
implements Serializable Map<K, V>
java.lang.Object
   ↳ webwork.action.SingleValueMap

Class Overview

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.
See Also

Summary

Public Constructors
SingleValueMap(Map m)
Public Methods
void clear()
boolean containsKey(Object key)
boolean containsValue(Object value)
Set entrySet()
Object get(Object key)
boolean isEmpty()
Set keySet()
Object put(Object key, Object value)
void putAll(Map map)
Object remove(Object key)
int size()
Collection values()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Map

Public Constructors

public SingleValueMap (Map m)

Public Methods

public void clear ()

public boolean containsKey (Object key)

public boolean containsValue (Object value)

public Set entrySet ()

public Object get (Object key)

public boolean isEmpty ()

public Set keySet ()

public Object put (Object key, Object value)

public void putAll (Map map)

public Object remove (Object key)

public int size ()

public Collection values ()