Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: where's your Vector, victor Date: Fri, 30 May 2014 08:06:15 -0400 Organization: A noiseless patient Spider Lines: 16 Message-ID: References: <19baa0fb-e0fb-4565-b1eb-44018eb3045d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 30 May 2014 12:06:20 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="bd4e1cba8d8592bec5d5ed9e4537fbfd"; logging-data="8574"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/OCNGnnsR5xrB6DGCzDYRe" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: Cancel-Lock: sha1:/mSw3RQmHNjhGCfLMcyeoJMtwAg= Xref: csiph.com comp.lang.java.programmer:28617 On 5/30/2014 6:45 AM, Josip Almasi wrote: > On 05/30/2014 10:11 AM, bob smith wrote: >> I read that the Vector class is obsolete. >> >> Can someone tell me in a nutshell why this is so? > > Same as with Hashtable. > It's all synchronized, = slow. > And to make things worse, returned iterators are not synchronized:) One or the other of these arguments might be relevant, but they can't both be relevant at the same time. -- Eric Sosman esosman@comcast-dot-net.invalid