Packageorg.pranaframework.utils
Classpublic class DictionaryUtils

Contains utilities for working with Dictionaries.



Public Methods
 MethodDefined by
  
containsKey(dictionary:Dictionary, key:Object):Boolean
[static] Check whether the given dictionary contains the given key.
DictionaryUtils
  
containsValue(dictionary:Dictionary, value:Object):Boolean
[static] Check whether the given dictionary contains the given value.
DictionaryUtils
Method detail
containsKey()method
public static function containsKey(dictionary:Dictionary, key:Object):Boolean

Check whether the given dictionary contains the given key.

Parameters
dictionary:Dictionary — the dictionary to check for a key
 
key:Object — the key to look up in the dictionary

Returns
Booleantrue if the dictionary contains the given key, false if not
containsValue()method 
public static function containsValue(dictionary:Dictionary, value:Object):Boolean

Check whether the given dictionary contains the given value.

Parameters
dictionary:Dictionary — the dictionary to check for a value
 
value:Object — the value to look up in the dictionary

Returns
Booleantrue if the dictionary contains the given value, false if not