Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2823
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: How to remove duplicate values in an array. |
| Date | 2013-10-21 20:34 -0700 |
| Organization | Canadian Mind Products |
| Message-ID | <pgsb691cp899c3chl2llioj58luh7nu17r@4ax.com> (permalink) |
| References | <ca6512ad-67f1-43e1-8aea-a8a7b5641872@googlegroups.com> |
On Sat, 12 Oct 2013 22:18:15 -0700 (PDT), miss.smileyfish@gmail.com wrote, quoted or indirectly quoted someone who said : >I have some code to build an object elementData that stores a list of ints = >in an array and also keeps track of a boolean unique that determines if dup= >licates are allowed in a list. I have written a small method to search out = >duplicates and remove them, but for some reason it is not working. I am not= > sure if the problem is with the method itself or the placement of the call= > to the removeDuplicates method. The lazy way to do this is it use an ArrayList which has a method for removing. -- Roedy Green Canadian Mind Products http://mindprod.com Unlike many machines, computers require no water once they are manufactured.
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar
How to remove duplicate values in an array. miss.smileyfish@gmail.com - 2013-10-12 22:18 -0700
Re: How to remove duplicate values in an array. Steven Simpson <ss@domain.invalid> - 2013-10-13 10:00 +0100
Re: How to remove duplicate values in an array. Joerg Meier <joergmmeier@arcor.de> - 2013-10-13 12:09 +0200
Re: How to remove duplicate values in an array. Roedy Green <see_website@mindprod.com.invalid> - 2013-10-21 20:34 -0700
Re: How to remove duplicate values in an array. Lew <lewbloch@gmail.com> - 2013-10-23 15:58 -0700
csiph-web