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

Method printArray

ij/src/main/java/ij/macro/Functions.java:6428–6443  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6426 }
6427
6428 Variable[] printArray() {
6429 String prefix = null;
6430 interp.getLeftParen();
6431 if (!isArrayArg() && isStringArg()) {
6432 prefix = getString();
6433 interp.getComma();
6434 }
6435 Variable[] a = getArray();
6436 interp.getRightParen();
6437 StringBuilder sb = joinArray(a, ", ");
6438 String str = sb.toString();
6439 if (prefix!=null)
6440 str = prefix+" "+str;
6441 interp.log(str);
6442 return null;
6443 }
6444
6445 Variable[] concatArray() {
6446 interp.getLeftParen();

Callers 1

doArrayMethod · 0.95

Calls 10

isArrayArgMethod · 0.95
isStringArgMethod · 0.95
getStringMethod · 0.95
getArrayMethod · 0.95
joinArrayMethod · 0.95
getLeftParenMethod · 0.80
getCommaMethod · 0.80
getRightParenMethod · 0.80
toStringMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected