com.jdroid.java.json
Class JsonMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<String,Object>
              extended by com.jdroid.java.json.JsonMap
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class JsonMap
extends LinkedHashMap<String,Object>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
JsonMap()
           
JsonMap(MarshallerMode mode)
           
JsonMap(MarshallerMode mode, Map<String,String> extras)
           
 
Method Summary
 Object put(String key, Object value)
           
 Object put(String key, Object value, MarshallerMode mode)
           
 String toString()
           
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, putAll, remove, size, values
 

Constructor Detail

JsonMap

public JsonMap()

JsonMap

public JsonMap(MarshallerMode mode)

JsonMap

public JsonMap(MarshallerMode mode,
               Map<String,String> extras)
Method Detail

put

public Object put(String key,
                  Object value,
                  MarshallerMode mode)

put

public Object put(String key,
                  Object value)
Specified by:
put in interface Map<String,Object>
Overrides:
put in class HashMap<String,Object>
See Also:
HashMap.put(java.lang.Object, java.lang.Object)

toString

public String toString()
Overrides:
toString in class AbstractMap<String,Object>
See Also:
AbstractMap.toString()


Copyright © 2014. All rights reserved.