android - Duplicate strings in ArrayList of object -


I have seen some examples and my head can not be found around it.

I have a list of objects and some objects have some duplicate IDs (wire). What I am trying to do, go through that list, select an ID, and remove the object from duplicate ID And to keep one of them, I'm dump at this time.

You can try:

  list & lt; String & gt; List; & Lt; String & gt; NewList = New Arrestist & lt; String & gt; (New Linked HSATset & lt; String & gt; (List));  

Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -