Results 1 to 2 of 2
Thread: Duplicates in String Array
- 11-04-2009, 10:38 PM #1
Member
- Join Date
- Oct 2009
- Posts
- 7
- Rep Power
- 0
-
If I remember correctly, you could use the Arrays method asList(...) and use that List to create a HashSet (see HashSet's constructors). Then I believe the HashSet should contain all the unique Strings.
Similar Threads
-
Convert Char Array to String Array
By Mayur in forum New To JavaReplies: 8Last Post: 10-12-2009, 11:41 AM -
FInd the no. of duplicates in an array
By singularity in forum Advanced JavaReplies: 3Last Post: 09-04-2009, 09:25 AM -
String array to byte array?!
By Joe2003 in forum Advanced JavaReplies: 5Last Post: 02-28-2009, 06:09 AM -
Duplicates
By Gambit17 in forum New To JavaReplies: 5Last Post: 11-08-2007, 09:56 AM -
I can't seem to pass the value of a string variable into a string array
By mathias in forum Java AppletsReplies: 1Last Post: 08-03-2007, 10:52 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks