I have a
Map<Id,Set<String>>
In my code.
I have a loop structured as this:
for(value : data) {
for(String string : Map.get(value) {
//Do something
}
}
When I do this am I actually looping through the strings within the Set or is it simply returning the sets themselves as a string. But not like when I do something like this:
Set<String> TestSet = new Set<String>();
TestSet = Map.Get(somevalue)
Might be an obvious answer but I can't seem to find any confirmation on this.