I have two Arrays that are initialized as such:
public static double[] arrayweight= new double[100];
public static double[] arraypulse= new double[100];
They are filled with data e.g. 23.0,25.8....etc.
I need to combine the two Arrays into one array of double[]
I have chosen to use the following approach which does not work. Any ideas?
ArrayList <Double> al = new ArrayList<Double>();
// The following methods do not work ;(
al.add((double[]) Global.arrayweight);
al.add(new Double(Global.arraypulse));