chec haber si te sirve double[] items = new double[10];
items[0] = 1.2;
items[1] = 1.6;
items[2] = 1.3;
items[3] = 1.2;
items[4] = 1.3;
items[5] = 1.4;
items[6] = 1.6;
items[7] = 1.2;
items[8] = 1.8;
items[9] = 1.9;
for(double d : items)
{
System.out.println(d);
}