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

Method get

ij/src/main/java/ij/util/FloatArray.java:43–46  ·  view source on GitHub ↗

Returns the element at the specified position in this FloatArray. @throws IndexOutOfBoundsException - if index is out of range ( index < 0 || index >= size() ).

(int index)

Source from the content-addressed store, hash-verified

41 /** Returns the element at the specified position in this FloatArray.
42 * @throws IndexOutOfBoundsException - if index is out of range (<code>index < 0 || index >= size()</code>). */
43 public float get(int index) {
44 if (index<0 || index>= size) throw new IndexOutOfBoundsException("FloatArray Index out of Bounds: "+index);
45 return data[index];
46 }
47
48 /** Returns the last element of this FloatArray.
49 * @throws IndexOutOfBoundsException - if this FloatArray is empty */

Callers 4

analyzeMethod · 0.95
parsePathMethod · 0.95
getFloatPolygonMethod · 0.95
getLastMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected