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

Method getStringArray

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

Source from the content-addressed store, hash-verified

717 }
718
719 String[] getStringArray() {
720 Variable[] a1 = getArray();
721 String[] a2 = new String[a1.length];
722 for (int i=0; i<a1.length; i++) {
723 String s = a1[i].getString();
724 if (s==null) s = "" + a1[i].getValue();
725 a2[i] = s;
726 }
727 return a2;
728 }
729
730 Variable[] getArray() {
731 interp.getToken();

Callers 5

doDialogMethod · 0.95
addCheckboxGroupMethod · 0.95
addRadioButtonGroupMethod · 0.95
newMenuMethod · 0.95
doListMethod · 0.95

Calls 3

getArrayMethod · 0.95
getStringMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected