Answers for "loop through map apex"

1

loop through map apex

for (Id key : Map.keySet()) {
    // The "key" variable is also available inside the loop
    List<String> list = Map.get(key);
    //  logic
}
Posted by: Guest on June-05-2020

Browse Popular Code Answers by Language