I\'m implementing an interface that has functionality similar to a table that can contain an types of objects. The interface specifies the following function:
You could use a for each loop to construct a temp array of the same size then cast each individual element to double and but it in the array.
SO:
double[] tempArray = new double[data[columnIndex].length];
int i = 0;
for(Double d : (Double) data[columnIndex]) {
tempArray[i] = (double) d;
i++;
}
Please correct me if I am dead wrong here.