Posted By

d3developer on 08/02/10


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  


RSS Icon Subscribe to comments
Posted By: Vordreller on August 3, 2010

Looks like C#

You need to login to post a comment.