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


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

Re: Finding Duplicate Values In An Array List

Newsgroups comp.lang.java.programmer
Date 2014-07-09 02:40 -0700
References <92f9302e-854e-4162-ad22-87900b4e7d5a@googlegroups.com> <fuhnm5fvett0.i0b4e0d0gwx7$.dlg@40tude.net>
Message-ID <4a2000a4-8c55-40d0-a9df-8593fdc88421@googlegroups.com> (permalink)
Subject Re: Finding Duplicate Values In An Array List
From gunitinug@gmail.com

Show all headers | View raw


On Wednesday, July 9, 2014 7:35:30 PM UTC+10, Joerg Meier wrote:
> On Wed, 9 Jul 2014 02:31:34 -0700 (PDT), gunitinug@gmail.com wrote:
> 
> 
> 
> > http://www.dreamincode.net/forums/topic/349987-finding-duplicate-values-in-an-array-list/
> 
> 
> 
> > My solution:
> 
> 
> 
> > [ Long list of code removed ]
> 
> 
> 
> My solution: Set<Integer> ints = new
> 
> HashSet<Integer>(Arrays.asList(intArray));
> 
> 
> 
> There, duplicates removed. Don't reinvent the wheel.
> 
> 
> 
> Liebe Gruesse,
> 
> 		Joerg
> 
> 
> 
> -- 
> 
> Ich lese meine Emails nicht, replies to Email bleiben also leider
> 
> ungelesen.

i was answering the guy's question.

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


Thread

Finding Duplicate Values In An Array List gunitinug@gmail.com - 2014-07-09 02:31 -0700
  Re: Finding Duplicate Values In An Array List Joerg Meier <joergmmeier@arcor.de> - 2014-07-09 11:35 +0200
    Re: Finding Duplicate Values In An Array List gunitinug@gmail.com - 2014-07-09 02:40 -0700
      Re: Finding Duplicate Values In An Array List Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2014-07-09 12:48 +0300
  Re: Finding Duplicate Values In An Array List Daniele Futtorovic <da.futt.news@laposte.net> - 2014-07-09 16:47 +0200
    Re: Finding Duplicate Values In An Array List Robert Klemme <shortcutter@googlemail.com> - 2014-07-10 19:24 +0200
      Re: Finding Duplicate Values In An Array List Daniele Futtorovic <da.futt.news@laposte.net> - 2014-07-12 16:18 +0200
  Re: Finding Duplicate Values In An Array List Roedy Green <see_website@mindprod.com.invalid> - 2014-07-12 20:45 -0700

csiph-web