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

Method mult

core/src/processing/data/IntDict.java:476–481  ·  view source on GitHub ↗

Multiply a value. @webref intdict:method @webBrief Multiply a value

(String key, int amount)

Source from the content-addressed store, hash-verified

474 * @webBrief Multiply a value
475 */
476 public void mult(String key, int amount) {
477 int index = index(key);
478 if (index != -1) {
479 values[index] *= amount;
480 }
481 }
482
483
484 /**

Callers

nothing calls this directly

Calls 1

indexMethod · 0.95

Tested by

no test coverage detected