Returns the element at the specified position in this FloatArray. @throws IndexOutOfBoundsException - if index is out of range ( index < 0 || index >= size() ).
(int index)
| 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 */ |
no outgoing calls
no test coverage detected