Answers for "apex list remove duplicates"

0

apex list remove duplicates

Set<sobject> myset = new Set<sobject>();
List<sobject> result = new List<sobject>();
myset.addAll(originalList);
result.addAll(myset);
Posted by: Guest on March-24-2020

Code answers related to "apex list remove duplicates"

Browse Popular Code Answers by Language