public class ObjectStorageMap extends HashMap<String,Object> implements ObjectStorage
ObjectStorage,
Serialized Form| Constructor and Description |
|---|
ObjectStorageMap()
Instantiates a new empty ObjectStorageMap.
|
ObjectStorageMap(Map<String,String> value)
Instantiates a new ObjectStorageMap from the existing Map.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getString(String key)
Gets the string representation of the value by the key.
|
Object |
getValue(String key)
Gets the value by the key.
|
void |
setValue(String key,
Object value)
Associates value with the key.
|
public ObjectStorageMap()
public ObjectStorageMap(Map<String,String> value)
value - the Map to initialize ObjectStorageMappublic String getString(String key)
ObjectStoragegetString in interface ObjectStoragekey - the keypublic Object getValue(String key)
ObjectStoragegetValue in interface ObjectStoragekey - the keypublic void setValue(String key,
Object value)
ObjectStoragesetValue in interface ObjectStoragekey - the keyvalue - the valueCopyright © 2010-2020 Toolsverse. All Rights Reserved.