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

mysql - How to enter php data into a html multiple select box -

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

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -