Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Removing duplicates from an ArrayCollection or an Array

 
Jahnavi Kondapaneni
Ranch Hand
Posts: 56
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I would like to know an efficient way to remove duplicates from an Array or an ArrayCollection especially when am working with ArrayCollections having huge amounts of data.Using a filter function will be a performance issue I am looking for a solution other than using a FilterFunction.


Thanks,
Jahnavi
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic