Packagegugga.collections.dictionary
Classpublic dynamic class Dictionary
InheritanceDictionary Inheritance flash.utils.Dictionary

Dictionary class is designed to substitute the HashTable class from the Actionscript 2 GuggaFF, in order to take advantage of the native for the Actionscript 3 Dictionary class. GuggaFF Dictionary class is extending the Actionscript 3 Dictionary class to adapt its interface to the interface of the previously used HashTable.



Public Properties
 PropertyDefined by
  count : Number
[read-only]
Dictionary
  IsEmpty : Boolean
[read-only]
Dictionary
Public Methods
 MethodDefined by
  
Dictionary(aWeakKeys:Boolean = false, aOriginalDictionary:Dictionary = null)
Dictionary
  
add(aKey:*, aValue:*):void
Dictionary
  
Dictionary
  
containsKey(aKey:*):Boolean
Dictionary
  
containsValue(aValue:*):Boolean
Dictionary
  
getKeyByValue(aValue:*):*
Dictionary
  
getValue(aKey:*):Object
Dictionary
  
remove(aKey:*):Object
Dictionary
Property detail
countproperty
count:Number  [read-only]Implementation
    public function get count():Number
IsEmptyproperty 
IsEmpty:Boolean  [read-only]Implementation
    public function get IsEmpty():Boolean
Constructor detail
Dictionary()constructor
public function Dictionary(aWeakKeys:Boolean = false, aOriginalDictionary:Dictionary = null)Parameters
aWeakKeys:Boolean (default = false)
 
aOriginalDictionary:Dictionary (default = null)
Method detail
add()method
public function add(aKey:*, aValue:*):voidParameters
aKey:*
 
aValue:*
clone()method 
public function clone():Dictionary

Returns
Dictionary
containsKey()method 
public function containsKey(aKey:*):BooleanParameters
aKey:*

Returns
Boolean
containsValue()method 
public function containsValue(aValue:*):BooleanParameters
aValue:*

Returns
Boolean
getKeyByValue()method 
public function getKeyByValue(aValue:*):*Parameters
aValue:*

Returns
*
getValue()method 
public function getValue(aKey:*):ObjectParameters
aKey:*

Returns
Object
remove()method 
public function remove(aKey:*):ObjectParameters
aKey:*

Returns
Object