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

Method mult

core/src/processing/data/IntList.java:464–470  ·  view source on GitHub ↗

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

(int index, int amount)

Source from the content-addressed store, hash-verified

462 * @webBrief Multiply a value
463 */
464 public void mult(int index, int amount) {
465 if (index < count) {
466 data[index] *= amount;
467 } else {
468 boundsProblem(index, "mult");
469 }
470 }
471
472 /**
473 * Divide a value.

Callers

nothing calls this directly

Calls 1

boundsProblemMethod · 0.95

Tested by

no test coverage detected