• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Creating unique list from diffrent list

 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Members,

I want to keep the unique list from the list of two list. I could so it from Set, but my problem is that I have to prepare a list myself. The following example will make it more clearer.
There are three list


I am populating both list in this way




This is my DTO




After doing this I am able to get two lists, one has unique elements while another has duplicated one. I want to create a list with unique ICDname but having all the disgnoseString with the same ICDname. It is a kind of Search in SQL as


I spent around 3 days but couldn't solve it !

I also tried this logic but failed !



Thanks in advance !
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic