function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
can any one tel me about Map in Apex code
hi,
Map is a collection with key and value combination.
Syntax:
Map<key,Value>
Key can be Id, String, Integer etc, but its should be unique.
Value can also be Id, string, Integer, sObject etc...
some examples are shown below:
Map<Id, String>
Map<String,Id>
Map<Id,List<String>>
Map<Integert,Set<Id>>
Find below the Map method link
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_map.htm
Thanks
ashii
Thanks alot
hi,
Map is a collection with key and value combination.
Syntax:
Map<key,Value>
Key can be Id, String, Integer etc, but its should be unique.
Value can also be Id, string, Integer, sObject etc...
some examples are shown below:
Map<Id, String>
Map<String,Id>
Map<Id,List<String>>
Map<Integert,Set<Id>>
Find below the Map method link
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_map.htm
Thanks
ashii
Thanks alot