public class ObjectStorageMap extends HashMap<String,Object> implements ObjectStorage
ObjectStorage
,
Serialized FormConstructor 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)
ObjectStorage
getString
in interface ObjectStorage
key
- the keypublic Object getValue(String key)
ObjectStorage
getValue
in interface ObjectStorage
key
- the keypublic void setValue(String key, Object value)
ObjectStorage
setValue
in interface ObjectStorage
key
- the keyvalue
- the valueCopyright © 2010-2020 Toolsverse. All Rights Reserved.