I have a Map of Maps in the format
Map < Integer, Map < String, Integer >>
If I have data in the format of
<1>, << X, 11 >, < Y, 13 >, < Z, 15 >>
<2>, << X,12 >, < A, 23 >, < L, 41 >>
How to process this using Java 8 lambda and generate the following
<1>, <[11, 13, 15]>
<2>, <[12, 23, 41]>
That is generate another Map where the key is the key of the outer map and the value is a List of the values of the inner Map. I know how to do this in the regular way but I am looking at how this using Java 8 Lambda.