Returns a float array containing all elements of this FloatArray.
()
| 33 | |
| 34 | /** Returns a float array containing all elements of this FloatArray. */ |
| 35 | public float[] toArray() { |
| 36 | float[] out = new float[size]; |
| 37 | System.arraycopy(data, 0, out, 0, size); |
| 38 | return out; |
| 39 | } |
| 40 | |
| 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>). */ |
no test coverage detected