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

Method format

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

Source from the content-addressed store, hash-verified

5162 }
5163
5164 private String format() {
5165 try {
5166 String command = getFirstString();
5167 ArrayList<Double> params = new ArrayList<Double>();
5168 while (interp.nextToken()==',')
5169 params.add(getNextArg());
5170 interp.getRightParen();
5171 return String.format(command, params.toArray());
5172 } catch (Exception e) {
5173 interp.error(""+e);
5174 }
5175 return null;
5176 }
5177
5178 private String join() {
5179 interp.getLeftParen();

Callers 10

doStringMethod · 0.95
d2sMethod · 0.45
getHexStringMethod · 0.45
saveFolderMethod · 0.45
runMethod · 0.45
makeStackFrom3DDataMethod · 0.45
makeStackFromManyHDUMethod · 0.45
d2sMethod · 0.45
LogStreamClass · 0.45

Calls 7

getFirstStringMethod · 0.95
getNextArgMethod · 0.95
getRightParenMethod · 0.80
addMethod · 0.65
nextTokenMethod · 0.45
toArrayMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected