(String what, int much)
| 604 | |
| 605 | |
| 606 | protected void create(String what, int much) { |
| 607 | if (count == keys.length) { |
| 608 | keys = PApplet.expand(keys); |
| 609 | values = PApplet.expand(values); |
| 610 | } |
| 611 | indices.put(what, Integer.valueOf(count)); |
| 612 | keys[count] = what; |
| 613 | values[count] = much; |
| 614 | count++; |
| 615 | } |
| 616 | |
| 617 | /** |
| 618 | * Remove a key/value pair. |