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

Method div

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

@webref intdict:method @brief Divide a value

(String key, int amount)

Source from the content-addressed store, hash-verified

462 * @brief Divide a value
463 */
464 public void div(String key, int amount) {
465 int index = index(key);
466 if (index != -1) {
467 values[index] /= amount;
468 }
469 }
470
471
472 private void checkMinMax(String functionName) {

Callers

nothing calls this directly

Calls 1

indexMethod · 0.95

Tested by

no test coverage detected