Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.CARNet.hr!gregory.BNet.hr!not-for-mail From: Josip Almasi Newsgroups: comp.lang.java.programmer Subject: Re: where's your Vector, victor Date: Fri, 30 May 2014 12:45:41 +0200 Organization: B.net Hrvatska d.o.o. Lines: 12 Message-ID: References: <19baa0fb-e0fb-4565-b1eb-44018eb3045d@googlegroups.com> NNTP-Posting-Host: 188.252.184.46 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: gregory.bnet.hr 1401446742 19644 188.252.184.46 (30 May 2014 10:45:42 GMT) X-Complaints-To: abuse@globalnet.hr NNTP-Posting-Date: Fri, 30 May 2014 10:45:42 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <19baa0fb-e0fb-4565-b1eb-44018eb3045d@googlegroups.com> Xref: csiph.com comp.lang.java.programmer:28614 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:) So, either pick some unsynchroized from java.util, or go to java.util.concurrent. Regards...