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

Method checkMinMax

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

Source from the content-addressed store, hash-verified

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

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