Returns an array with all elements. @return array
()
| 216 | * @return array |
| 217 | */ |
| 218 | public int[] toArray() { |
| 219 | return Arrays.copyOf(list, size); |
| 220 | } |
| 221 | |
| 222 | /** |
| 223 | * Returns an array with all elements and invalidates the internal array. |
no test coverage detected