Returns a new array containing all elements contained in this ArrayList. @return an array of the elements from this ArrayList
()
| 630 | * @return an array of the elements from this {@code ArrayList} |
| 631 | */ |
| 632 | @Override |
| 633 | public Object[] toArray() { |
| 634 | Object[] result = new Object[size]; |
| 635 | System.arraycopy(array, firstIndex, result, 0, size); |
| 636 | return result; |
| 637 | } |
| 638 | |
| 639 | /** |
| 640 | * Returns an array containing all elements contained in this |
no test coverage detected