Possible Duplicate:
How to cast from List<Double> to double[] in Java?
So far the only method I can get working is to loop through the entire array. I was hoping for something along the lines of:
ArrayList<Double> myArrayList = ... // initiaize
double[] myArray = ... // magic line here