Name

values()

Class

IntDict

Description

Return the internal array being used to store the values.

Examples

  • IntDict inventory;
    
    void setup() {
      size(200, 200);
      inventory = new IntDict();
      inventory.set("cd", 84);
      inventory.set("tapes", 15);
      inventory.set("records", 102);
      println(inventory); 
      for (int i : inventory.values()) {
        println(i);
      }
    }
    
    

Syntax

  • .values()

Return

  • Iterable<Integer>