Thread: Why Vector
View Single Post
Old 08-03-2003, 05:57 PM   #2 (permalink)
npa
Code Monkey
 
Join Date: Jul 2003
Location: canada
Posts: 82
npa is on a distinguished road
Re: Why Vector

Quote:
Originally posted by Belisarius
I've been poking around a few Java forums, and notice a lot of people use Vector. Why? It's slow and designed for threaded operations. Why don't more people use ArrayList? I use Vectors nowadays only when I want to synchronize data across threads.
Because somewhere, someone thought it was a good
idea...

It baffles me too (but my teacher in school told me to
use them).
__________________
direct entry file specification.
npa is offline   Reply With Quote