title: Java stream map and collect - order of resulting container
body: <pre><code>List&lt;MyObject&gt; myList = new ArrayList&lt;&gt;(); 
  //populate myList here
  
  List&lt;String&gt; nameList = myList.stream()
          .map(MyObject::getName)
          .collect(Collectors.toList());
  </code></pre>
  
  <p>In above code, can I expect that order of <code>MyObject</code> names in <code>nameList</code> is always the same as the order of <code>myList</code>?</p>