D
Daniel
Using Java 1.4.2, I'm trying to convert a vector to a double[].
If I try this:
double[] foo = vector.toArray(new double[5]);
I get a compile error. But it compiles just fine if I use Double[]
Can I convert a vector to double[], or is there a quick conversion from
Double[] to double[]?
If I try this:
double[] foo = vector.toArray(new double[5]);
I get a compile error. But it compiles just fine if I use Double[]
Can I convert a vector to double[], or is there a quick conversion from
Double[] to double[]?