Here I have
class x{
ArrayList<Double> values;
x() {
values= new ArrayList<Double>();
}
//here I want to write a method to convert my arraylis(values) in class(x) into an array to be able to use it in my program. Is there any way to do that. thx for your help.
public double [] getarray(){
}