File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Aug 24, 2001
Nov 12, 2001 10:24:00
I've used a vector to collect information for a program. I want to convert the vector to an array, but can't think of how to do that. So, How do you convert a vector into an array? TIA.
Joined: Sep 29, 2000
Nov 12, 2001 10:35:00
Object myArray = myVector.toArray();
"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
Vectors vs Arrays
Converting an array to a Vector -> Simple question with many doubts
cloning array of vectors
vector to String
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015