How do I convert Double[] to double[]?
问题 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: double[] getDoubles(int columnIndex); Where I\'m stumped is that in my implementation, I\'m storing the table data in a 2D Object array ( Object[][] data ). When I need to return the values, I want to do the following (it is assumed that getDoubles() will only be called on a column that contains doubles, so there will be no