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 can utilise the ArrayUtils to convert
Double[] d; // initialise double[] array = ArrayUtils.toPrimitive(d);
No need of looping the entire data.