public static function clear(d:Dictionary):void
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 9.0 |
Clears the Dictionary by deleting all key=>value pairs.
Parameters
| d:Dictionary — The Dictionary instance to clear.
|
public static function containsKey(d:Dictionary, key:Object):Boolean
Check whether the given dictionary contains the given key.
Parameters
| d:Dictionary — the dictionary to check for a key
|
|
| key:Object — the key to look up in the dictionary
|
Returns | Boolean — true if the dictionary contains the given key, false if not
|
public static function containsValue(d:Dictionary, value:Object):Boolean
Check whether the given dictionary contains the given value.
Parameters
| d:Dictionary — the dictionary to check for a value
|
|
| value:Object — the value to look up in the dictionary
|
Returns | Boolean — true if the dictionary contains the given value, false if not
|
public static function getKeys(d:Dictionary):Array
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 9.0 |
Returns an Array of all keys within the specified dictionary.
Parameters
| d:Dictionary — The Dictionary instance whose keys will be returned.
|
Returns | Array — Array of keys contained within the Dictionary
|
public static function getLength(d:Dictionary):uint
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 9.0 |
Returns an Array of all values within the specified dictionary.
Parameters
| d:Dictionary — The Dictionary instance whose values will be returned.
|
Returns | uint — Array of values contained within the Dictionary
|
public static function getValues(d:Dictionary):Array
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 9.0 |
Returns an Array of all values within the specified dictionary.
Parameters
| d:Dictionary — The Dictionary instance whose values will be returned.
|
Returns | Array — Array of values contained within the Dictionary
|
Fri May 6 2016, 10:06 AM +05:30