wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Deleting repeated values in an array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Deleting repeated values in an array" Watch "Deleting repeated values in an array" New topic
Author

Deleting repeated values in an array

Zak Tacc
Greenhorn

Joined: Feb 01, 2010
Posts: 25
is there a way to delete any repeated values in an array?
pete reisinger
Ranch Hand

Joined: Dec 30, 2009
Posts: 46
you can use set instead of array if you don't want duplicates.
the set interface
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Deleting repeated values in an array
 
Similar Threads
inserting repeated values in primary key field
Comparing Integers in Array
Finding top 3 repeated numbers in an array
Checking for unique values in an array
help me with array