Reference×
Reference
- [] (array access)
- = (assign)
- catch
- class
- , (comma)
- // (comment)
- {} (curly braces)
- /** */ (doc comment)
- . (dot)
- draw()
- exit()
- extends
- false
- final
- implements
- import
- loop()
- /* */ (multiline comment)
- new
- noLoop()
- null
- () (parentheses)
- popStyle()
- pop()
- public
- private
- pushStyle()
- push()
- return
- redraw()
- ; (semicolon)
- setResizable()
- setLocation()
- setTitle()
- setup()
- static
- super
- this
- true
- thread()
- void
- try
Name
remove()
Class
FloatDict
Description
Remove a key/value pair.
Examples
FloatDict inventory; void setup() { size(200, 200); inventory = new FloatDict(); inventory.set("coffee",108.6); inventory.set("flour",5.8); inventory.set("tea",8.2); println(inventory); // Full inventory inventory.remove("flour"); println(inventory); // Flour is removed from list }
Syntax
.remove(key)
Return
float

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