Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

How to change arraylist to be thread safe?



Hi,

I have an application which was single threaded and so used ArralyList through out the application.Now We want to make that thread safe because application changed to multi threaded.Which is the best way to do that? I don't like to replace with Vector where ever we used ArralyList.

Thanks