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

Method checkMinMax

core/src/processing/data/DoubleList.java:476–483  ·  view source on GitHub ↗
(String functionName)

Source from the content-addressed store, hash-verified

474
475
476 private void checkMinMax(String functionName) {
477 if (count == 0) {
478 String msg =
479 String.format("Cannot use %s() on an empty %s.",
480 functionName, getClass().getSimpleName());
481 throw new RuntimeException(msg);
482 }
483 }
484
485
486 /**

Callers 4

minMethod · 0.95
minIndexMethod · 0.95
maxMethod · 0.95
maxIndexMethod · 0.95

Calls 1

formatMethod · 0.65

Tested by

no test coverage detected