I would like to merge two Map with JAVA 8 Stream:
Map> mapGlobal = new HashMap>(); Map
The original implementation doesn't create result like Map>, but Map>>. You need additional Stream pipeline on it to produce Map>.
Map>
Map>>