Thread: Why Vector
View Single Post
Old 08-06-2003, 08:55 PM   #5 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,140
Belisarius is on a distinguished road
Granted, there's no point in going back through all your old code to replace Vector with ArrayList when the old code works, but that doesn't explain why people continue to use it (and even worse, tell other people to use it).

It's just a flawed class (which, BTW, isn't even going to really exist in 1.5, it's just going to be a front-end to a new collection). It's synchronized but not thread safe. Ugh.
__________________
GitS
Belisarius is offline   Reply With Quote