Trims the capacity of this FloatArray instance to be its current size, minimizing the storage of the FloatArray instance.
()
| 93 | /** Trims the capacity of this FloatArray instance to be its current size, |
| 94 | * minimizing the storage of the FloatArray instance. */ |
| 95 | public void trimToSize() { |
| 96 | data = toArray(); |
| 97 | } |
| 98 | |
| 99 | } |