MCPcopy Create free account
hub / github.com/benfry/processing4 / create

Method create

core/src/processing/data/FloatDict.java:629–638  ·  view source on GitHub ↗
(String what, float much)

Source from the content-addressed store, hash-verified

627
628
629 protected void create(String what, float much) {
630 if (count == keys.length) {
631 keys = PApplet.expand(keys);
632 values = PApplet.expand(values);
633 }
634 indices.put(what, Integer.valueOf(count));
635 keys[count] = what;
636 values[count] = much;
637 count++;
638 }
639
640
641 /**

Callers 2

setMethod · 0.95
addMethod · 0.95

Calls 2

expandMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected