Dibyajyoti Das (Wissen Technology Private Limited) 提问于 #Apex2021年5月31日 17:09how to initialize Map<string,set<string>>1 个回答排序按日期排序按最有帮助排序按日期排序Abhinav Thakur (Salesforce)2021年5月31日 17:25Hi DibyajyotiMap<String, Set<String>> testMap = new Map<String, Set<String>>{ 'a' => new Set<String>{'x', 'y', 'z'}, 'b' => new Set<String>{'p', 'q', 'r'} }; If it helps, Please mark it as best answer.Thanks!在 Slack 中回复
Abhinav Thakur (Salesforce)2021年5月31日 17:25Hi DibyajyotiMap<String, Set<String>> testMap = new Map<String, Set<String>>{ 'a' => new Set<String>{'x', 'y', 'z'}, 'b' => new Set<String>{'p', 'q', 'r'} }; If it helps, Please mark it as best answer.Thanks!