I have a variable like that:
List frameList = new ArrayList(); /* Double elements has added to frameList */
H
You can use the ArrayUtils class from commons-lang to obtain a double[] from a Double[].
ArrayUtils
double[]
Double[]
Double[] ds = frameList.toArray(new Double[frameList.size()]); ... double[] d = ArrayUtils.toPrimitive(ds);