title: Java 8 Lambda Map<Integer,List<Object> for each create a new object and add this new objet in a list
body: <p>Java 8 Lambda Map  for each create a new object and add this new objet in a list</p>
  
  <p>This is my firts step</p>
  
  <pre><code>Map&lt;Integer, List&lt;Obj&gt;&gt; objGroupBy = list.stream().collect(Collectors.groupingBy(Obj::getSomething)); 
  
  
  List&lt;Obj2&gt; lst2= new ArrayList&lt;Obj2&gt;();
  
  for (Entry&lt;Integer, List&lt;Obj&gt;&gt; entry : objGroupBy .entrySet())
  {
      lst2.add(new Obj2(entry.getKey().intValue(), entry.getValue()));
  }
  </code></pre>
  
  <p>I want to know if it possible to do it in lambda
  Thanks!</p>