You need to sign in to do that
Don't have an account?

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 :)