I have a variable like that:
List frameList = new ArrayList(); /* Double elements has added to frameList */
H
You can convert to a Double[] by calling frameList.toArray(new Double[frameList.size()]), but you'll need to iterate the list/array to convert to double[]
Double[]
frameList.toArray(new Double[frameList.size()])
double[]