Даже если ваш массив - двойной массив, индексы, соответствующие каждой позиции, все еще являются примитивами int.
double[] doubleArray = {2.45, 4.45};
for(int i = 0; i < doubleArray.length; i++) {
System.out.println(doubleArray[i]); //Doing something with the double value
}