aspose file tools*
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
Author

Using java.util.Vector

Tim Berett
Ranch Hand

Joined: Jun 14, 2002
Posts: 35
Hello,

I have the following code

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

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

Tim
Ragu Ram
Greenhorn

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