You need to sign in to do that
Don't have an account?
![rzs rzs](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
List versus Set
Hello,
Is there a way to check if a given element exists in a List or not without having to iterate through every List element, or do i have to convert the List to a set and then use the contains() method ?
Please help
Thanks
Theres is not a method to do this on a List you can check it in here
http://www.salesforce.com/us/developer/docs/apexcode/index.htm
All Answers
Theres is not a method to do this on a List you can check it in here
http://www.salesforce.com/us/developer/docs/apexcode/index.htm
Thanks imuino :)