Posted By

d3developer on 08/06/10


Tagged


Versions (?)

runger Remove duplicate items from List


 / Published in: Other
 

  1. Set<sobject> myset = new Set<sobject>();
  2. List<sobject> result = new List<sobject>();
  3. myset.addAll(originalList);
  4. result.addAll(myset);

Report this snippet  

You need to login to post a comment.