Say I have some map entries like so:
var a = Map.entry("a", new Object());
var b = Map.entry("b", new Object());
var c = Map.entry("c", new Object());
var m = Map.of(a,b,c); // error here
I get this error:
Cannot resolve method 'of(java.util.Map.Entry, java.util.Map.Entry, java.util.Map.Entry)'
I just want to make a new Map from entries in a map, how can I do this? Not the question is specifically about how to init a Map given Map.Entry instances.