Monthly Archives: June 2014

How to access List,Set and Map in Salesforce

Here is the sample code to access Set and List values via loop salesforce, Accessing List  To access List of values through for loop it’s simple, the below examples show access list of element via loop. List<Integer> myList = new List<Integer>{1,2,3}; for(integer i=0;i<myList.size();i++) {   … Continue reading

Posted in Apex | 1 Comment