A wrapper class for an associative array with object keys. Note: This implementation uses <mxObjectIdentitiy> to turn object keys into strings.
| mxDictionary | A wrapper class for an associative array with object keys. | 
| Functions | |
| mxEventSource | Constructs a new dictionary which allows object to be used as keys. | 
| map | Stores the (key, value) pairs in this dictionary. | 
| clear | Clears the dictionary. | 
| get | Returns the value for the given key. | 
| put | Stores the value under the given key and returns the previous value for that key. | 
| remove | Removes the value for the given key and returns the value that has been removed. | 
| getKeys | Returns all keys as an array. | 
| getValues | Returns all values as an array. | 
| visit | Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object. | 
Clears the dictionary.
mxDictionary.prototype.clear = function() 
Returns the value for the given key.
mxDictionary.prototype.get = function( key ) 
Stores the value under the given key and returns the previous value for that key.
mxDictionary.prototype.put = function( key, value ) 
Removes the value for the given key and returns the value that has been removed.
mxDictionary.prototype.remove = function( key ) 
Returns all keys as an array.
mxDictionary.prototype.getKeys = function() 
Returns all values as an array.
mxDictionary.prototype.getValues = function() 
Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.
mxDictionary.prototype.visit = function( visitor )