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

Method getIndex

ij/src/main/java/ij/plugin/Distribution.java:137–143  ·  view source on GitHub ↗
(String[] strings)

Source from the content-addressed store, hash-verified

135 }
136
137 int getIndex(String[] strings) {
138 for (int i=0; i<strings.length; i++) {
139 if (strings[i].equals(parameter))
140 return i;
141 }
142 return 0;
143 }
144
145 public void textValueChanged(TextEvent e) {
146 if (!defaultNBins.equals(nBinsField.getText()))

Callers 1

runMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected