Reference+
Name
clear()
Class
StringDict
Description
Remove all entries.
Examples
StringDict inventory; void setup() { size(200, 200); inventory = new StringDict(); inventory.set("coffee","black"); inventory.set("flour","white"); inventory.set("tea","green"); println(inventory); inventory.clear(); println(inventory); }
Syntax
.clear()
Return
void
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.