org.appcelerator.kroll
Class KrollDict

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by org.appcelerator.kroll.KrollDict
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class KrollDict
extends HashMap<String,Object>

An extension of HashMap, used to access and store data.

See Also:
Serialized Form

Constructor Summary
KrollDict()
          Constructs a KrollDict with a default capacity.
KrollDict(int size)
          Constructs a KrollDict with the specified capacity.
KrollDict(Map<? extends String,? extends Object> map)
          Constructs a KrollDict by copying an existing Map
 

Constructor Detail

KrollDict

public KrollDict()
Constructs a KrollDict with a default capacity.


KrollDict

public KrollDict(Map<? extends String,? extends Object> map)
Constructs a KrollDict by copying an existing Map

Parameters:
map - the existing map to copy

KrollDict

public KrollDict(int size)
Constructs a KrollDict with the specified capacity.

Parameters:
size - the specified capacity.


Copyright © 2010-2012 Appcelerator, Inc. Licensed under the Apache License 2.0