title: Lambda expression to add objects from one list to another type of list
body: <p>There is a <code>List&lt;MyObject&gt;</code> and it's objects are required to create object that will be added to another List with different elements : <code>List&lt;OtherObject&gt;</code>.     </p>
  
  <p>This is how I am doing,</p>
  
  <pre><code>List&lt;MyObject&gt; myList = returnsList();
  List&lt;OtherObj&gt; emptyList = new ArrayList();
  
  for(MyObject obj: myList) {   
      OtherObj oo = new OtherObj();
      oo.setUserName(obj.getName());
      oo.setUserAge(obj.getMaxAge());   
      emptyList.add(oo);  
  }
  </code></pre>
  
  <p>I'm looking for a <code>lamdba</code> expression to do the exact same thing.</p>