jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes Using java.util.Vector Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Using java.util.Vector" Watch "Using java.util.Vector" New topic

Using java.util.Vector

Tim Berett
Ranch Hand

Joined: Jun 14, 2002
Posts: 35

I have the following code

Vector v = new Vector();
double[] b = new double[2];
b[0]=0.11; b[1]=2.3;

How do I get back the array from the vector? I can't seem to cast it to double[]. Help appreciated. Thanks!

Ragu Ram

Joined: Mar 08, 2004
Posts: 14

This must work.
I agree. Here's the link: http://aspose.com/file-tools
subject: Using java.util.Vector
It's not a secret anymore!