MCPcopy Index your code
hub / github.com/processing/processing / create

Method create

core/src/processing/data/IntDict.java:580–589  ·  view source on GitHub ↗
(String what, int much)

Source from the content-addressed store, hash-verified

578
579
580 protected void create(String what, int much) {
581 if (count == keys.length) {
582 keys = PApplet.expand(keys);
583 values = PApplet.expand(values);
584 }
585 indices.put(what, Integer.valueOf(count));
586 keys[count] = what;
587 values[count] = much;
588 count++;
589 }
590
591 /**
592 * @webref intdict:method

Callers 2

setMethod · 0.95
addMethod · 0.95

Calls 2

expandMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected