Returns a new array containing all elements contained in this vector. @return an array of the elements from this vector.
()
| 961 | * @return an array of the elements from this vector. |
| 962 | */ |
| 963 | @Override |
| 964 | public synchronized Object[] toArray() { |
| 965 | Object[] result = new Object[elementCount]; |
| 966 | System.arraycopy(elementData, 0, result, 0, elementCount); |
| 967 | return result; |
| 968 | } |
| 969 | |
| 970 | /** |
| 971 | * Returns an array containing all elements contained in this vector. If the |
nothing calls this directly
no test coverage detected