protonpack
protonpack copied to clipboard
java.util.stream.Stream has toList method so compiler needs to unconf…
…used
Since Java 16 Stream has a toList method too, so the compiler is stumped on the original line
return of(collect(groupingBy(Entry::getKey, mapping(Entry::getValue, toList()))));
Helped by adding Collectors