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
Disadvantage of using Vectors
Joined: Aug 05, 2002
Jun 11, 2003 22:04:00
I am using vectors to store results retrieved by
from the database. These vectors are then used by
's to display on the html page. Is there any disadvantage of using vectors? Should Hashtables be used instead of Vectors?
Joined: Jan 29, 2003
Jun 12, 2003 01:01:00
You could use arraylist instead.
are faster than vectors since they are unsynchronised.
I agree. Here's the link:
subject: Disadvantage of using Vectors
Threads,serialisation, static variables - java basic doubts
Lookahead with Java
Collection- Fast Retrieval
Sample Java Program and codes for TestCase
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014