Reference+
Name
valueArray()
Class
StringDict
Description
Create a new array and copy each of the values into it.
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); String[] colors = inventory.valueArray(); println(colors); }
Syntax
- .valueArray()
- .valueArray(array)
Return
- String[]

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.