At 02:06 PM 4/23/2001 -0700, you wrote: >I still use Vectors/Hashtables when I need thread safety, though. Does >anyone know if it's faster/better to wrap one of the new collection classes >in a Collections.synchronized* class instead? It just seems easier to me to >use Vectors/Hashtables, since they're already internally synchronized. I do this when I'm concerned about concurrency and am using a non-thread-safe class, and although I can't say its any more than an aside comment (in other words I've hardly done exhaustive testing) I haven't had any problems.
- Re: ArrayList vs. Vector Tim O'Neil
- Re: ArrayList vs. Vector Hunter Hillegas
- Re: ArrayList vs. Vector Tim O'Neil
- Re: ArrayList vs. Vector Hunter Hillegas
- Re: ArrayList vs. Vector Dennis Doubleday
- Re: ArrayList vs. Vector Jeff Kilbride
- RE: ArrayList vs. Vector Jerzy Wirecki \(Jerry\)
- RE: ArrayList vs. Vector Craig O'Brien
- RE: ArrayList vs. Vector Danny Angus
- Re: ArrayList vs. Vector Jeff Kilbride
- RE: ArrayList vs. Vector Tim O'Neil
- RE: ArrayList vs. Vector Iain Lowe
- Re: ArrayList vs. Vector Jeff Kilbride
- RE: ArrayList vs. Vector Jody Brownell
- RE: ArrayList vs. Vector Todd Carmichael
- RE: ArrayList vs. Vector William Kaufman
- Re: ArrayList vs. Vector Jeff Kilbride
- RE: ArrayList vs. Vector Craig O'Brien
- Re: ArrayList vs. Vector Jeff Kilbride
- RE: ArrayList vs. Vector Craig O'Brien
- RE: ArrayList vs. Vector William Kaufman