MCPcopy Index your code
hub / github.com/benfry/processing4 / create

Method create

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

Source from the content-addressed store, hash-verified

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.

Callers 2

setMethod · 0.95
addMethod · 0.95

Calls 2

expandMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected