public class ASObject extends HashMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ASObject() |
ASObject(String type)
Creates ASObject with type
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key)
Returns true if this map contains a mapping for the specified
key.
|
Object |
get(Object key)
Returns the value to which the specified key is mapped in this identity
hash map, or null if the map contains no mapping for this
key.
|
String |
getType()
Gets object type
|
Object |
instantiate() |
Object |
put(String key,
Object value)
Associates the specified value with the specified key in this map.
|
Object |
remove(Object key)
Removes the mapping for this key from this map if present.
|
void |
setType(String type)
Sets object type
|
String |
toString() |
clear, clone, containsValue, entrySet, isEmpty, keySet, putAll, size, valuesequals, hashCodepublic ASObject()
public String getType()
setType(String)public boolean containsKey(Object key)
containsKey in interface Map<String,Object>containsKey in class HashMap<String,Object>key - The key whose presence in this map is to be testedpublic Object get(Object key)
get in interface Map<String,Object>get in class HashMap<String,Object>key - the key whose associated value is to be returned.HashMap.put(Object, Object)public Object put(String key, Object value)
put in interface Map<String,Object>put in class HashMap<String,Object>key - key with which the specified value is to be associated.value - value to be associated with the specified key.public Object remove(Object key)
remove in interface Map<String,Object>remove in class HashMap<String,Object>key - key whose mapping is to be removed from the map.public Object instantiate()
setType(String),
getType()