MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / checkIndex

Method checkIndex

ij/src/main/java/ij/macro/Functions.java:801–804  ·  view source on GitHub ↗
(int index, int lower, int upper)

Source from the content-addressed store, hash-verified

799 }
800
801 void checkIndex(int index, int lower, int upper) {
802 if (index<lower || index>upper)
803 interp.error("Index ("+index+") is outside of the "+lower+"-"+upper+" range");
804 }
805
806 void doRun() {
807 interp.getLeftParen();

Callers 11

getVariableMethod · 0.95
substringMethod · 0.95
indexOfMethod · 0.95
roiManagerMethod · 0.95
fitMethod · 0.95
getEquationMethod · 0.95
deleteArrayIndexMethod · 0.95
charCodeAtMethod · 0.95
doOverlayMethod · 0.95
activateSelectionMethod · 0.95
runStringFunctionMethod · 0.80

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected