Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!news.szn.dk!pnx.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Tue, 09 Aug 2011 20:09:15 -0400 From: =?ISO-8859-1?Q?Arne_Vajh=F8j?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: setSize ArrayList, when will it come? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 13 Message-ID: <4e41cc2e$0$302$14726298@news.sunsite.dk> Organization: SunSITE.dk - Supporting Open source NNTP-Posting-Host: 72.192.23.157 X-Trace: news.sunsite.dk DXC=ZoIj[dVXoSYPF49IdUYT?QYSB=nbEKnk[_Q=jj^c=Yo\JPe3\kP5EUQKBm9cfh9BSTM2;kT<[:>[Q9`eXSIBc>4VKI4n6Pl];`^ X-Complaints-To: staff@sunsite.dk Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6937 On 8/9/2011 12:58 PM, Roedy Green wrote: > On Tue, 09 Aug 2011 00:47:12 +0200, Jan Burse > wrote, quoted or indirectly quoted someone who said : >> When will ArrayList have a setSize() method. Its lack >> makes it practically impossible to consistently replace >> Vector by ArrayList. > > This will not make you happy, but there is ArrayList.trimToSize Which seems completely irrelevant for the problem. Arne