Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #7571

Re: remove duplicates?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!prichard.zen.co.uk.POSTED!not-for-mail
Date Mon, 05 Sep 2011 10:23:46 +0100
From RedGrittyBrick <RedGrittyBrick@spamweary.invalid>
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: remove duplicates?
References <c299b494-241e-481f-b993-a6272f15b915@j1g2000yqn.googlegroups.com>
In-Reply-To <c299b494-241e-481f-b993-a6272f15b915@j1g2000yqn.googlegroups.com>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Lines 8
Message-ID <4e649523$0$2498$db0fefd9@news.zen.co.uk> (permalink)
Organization Zen Internet
NNTP-Posting-Host a48ec87a.news.zen.co.uk
X-Trace DXC=OiHWkOHc;]i\PSINQ]X;?i0g@SS;SF6ngR9OH0:RnENdaICG2S@n?6nFJPo[XSAIj`1`L_d^XUG@`
X-Complaints-To abuse@zen.co.uk
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7571

Show key headers only | View raw


On 05/09/2011 09:44, bob wrote:
> Let's say you have a Vector of String objects.  What is the easiest
> way to remove duplicates?

By using a java.util.Set in the first place?

-- 
RGB

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

remove duplicates? bob <bob@coolgroups.com> - 2011-09-05 01:44 -0700
  Re: remove duplicates? RedGrittyBrick <RedGrittyBrick@spamweary.invalid> - 2011-09-05 10:23 +0100
  Re: remove duplicates? Stanimir Stamenkov <s7an10@netscape.net> - 2011-09-05 12:36 +0300
  Re: remove duplicates? rossum <rossum48@coldmail.com> - 2011-09-05 12:46 +0100
  Re: remove duplicates? Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-09-05 08:38 -0400
  Re: remove duplicates? Patricia Shanahan <pats@acm.org> - 2011-09-05 05:51 -0700
  Re: remove duplicates? Roedy Green <see_website@mindprod.com.invalid> - 2011-09-05 11:07 -0700

csiph-web