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

Method getLine

ij/src/main/java/ij/text/TextPanel.java:1162–1166  ·  view source on GitHub ↗

Returns the specified line as a string. The argument must be greater than or equal to zero and less than the value returned by getLineCount().

(int index)

Source from the content-addressed store, hash-verified

1160 must be greater than or equal to zero and less than
1161 the value returned by getLineCount(). */
1162 public String getLine(int index) {
1163 if (index<0 || index>=iRowCount)
1164 throw new IllegalArgumentException("index out of range: "+index);
1165 return new String((char[])(vData.elementAt(index)));
1166 }
1167
1168 /** Replaces the contents of the specified line, where 'index'
1169 must be greater than or equal to zero and less than

Callers 3

saveAsMethod · 0.95
getRowAverageProfileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected