How can the following be converted to scala? If I live it as it is, I'm getting a big type mismatch expected
.entrySet().forEach(entry -> {..})
I tried specifying entry to java.util.Map.Entry, or changing to scala foreach, doesn't work.
Let me know if you need any more info/code, and I'll create some dummy example since I'm not allowed to post the exact code.