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

Method checkMinMax

core/src/processing/data/IntList.java:487–494  ·  view source on GitHub ↗
(String functionName)

Source from the content-addressed store, hash-verified

485
486
487 private void checkMinMax(String functionName) {
488 if (count == 0) {
489 String msg =
490 String.format("Cannot use %s() on an empty %s.",
491 functionName, getClass().getSimpleName());
492 throw new RuntimeException(msg);
493 }
494 }
495
496
497 /**

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