Name

values()

Class

StringDict

Description

Return the internal array being used to store the values

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); 
      for (String v : inventory.values()) {
        println(v);
      }
    }
    
    

Syntax

  • .values()

Return

  • Iterable<String>