Base class for all p5.Dictionary types. Specifically typed Dictionary classes inherit from this class.
方法
Returns the number of key-value pairs currently stored in the Dictionary.
Returns true if the given key exists in the Dictionary, otherwise returns false.
Returns the value stored at the given key.
Updates the value associated with the given key in case it already exists in the Dictionary. Otherwise a new key-value pair is added.
Creates a new key-value pair in the Dictionary.
Removes all previously stored key-value pairs from the Dictionary.
Removes the key-value pair stored at the given key from the Dictionary.
Logs the set of items currently stored in the Dictionary to the console.
Converts the Dictionary into a CSV file for local download.
Converts the Dictionary into a JSON file for local download.