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

Method checkMinMax

core/src/processing/data/FloatList.java:549–556  ·  view source on GitHub ↗
(String functionName)

Source from the content-addressed store, hash-verified

547
548
549 private void checkMinMax(String functionName) {
550 if (count == 0) {
551 String msg =
552 String.format("Cannot use %s() on an empty %s.",
553 functionName, getClass().getSimpleName());
554 throw new RuntimeException(msg);
555 }
556 }
557
558
559 /**

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