Truly, I dont see any difference. synchronized arraylist = vector.
Though not 100% sure. Let see if someone thinks otherwise.
"Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover." - Mark Twain
Vector is all but deprecated. Nobody uses it anymore unless they are being a rebel
This goes for Hashtable and other collections created at that time. Basically there is rarely a need for a pre-synchronized collection. Its rare that you have multiple threads that only wish to add or remove something from a collection. Typically they do something else even if very slight. So the synchronization on those collections is typically wasted. [ June 26, 2006: Message edited by: Mr. C Lamont Gilbert ]
Cob is sand, clay and sometimes straw. This tiny ad is made of cob: