de.twenty11.skysail.common
Class MapData

java.lang.Object
  extended by de.twenty11.skysail.common.MapData
All Implemented Interfaces:
SkysailData, Serializable

public class MapData
extends Object
implements SkysailData

A map-like data structure implementing the interface SkysailData.

See Also:
Serialized Form

Constructor Summary
MapData()
           
 
Method Summary
 Map<String,String> getDictionary()
           
 int getSize()
           
 String getType()
           
 String getValue(String key)
           
 void put(String key, String value)
           
 String toJson()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapData

public MapData()
Method Detail

getType

public String getType()

getSize

public int getSize()
Specified by:
getSize in interface SkysailData
Returns:
the number of data elements in this data structure

put

public void put(String key,
                String value)

getValue

public String getValue(String key)

getDictionary

public Map<String,String> getDictionary()

toJson

public String toJson()


Copyright © 2011-2012. All Rights Reserved.