Name

keys()

Class

IntDict

Description

Return the internal array being used to store the keys.

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 (String k : inventory.keys()) {
        println(k);
      }
    }
    
    

Syntax

  • .keys()

Return

  • Iterable<String>