title: Cannot convert IntStream to some Object Stream
body: <p>I'm trying to use an <code>IntStream</code> to instantiate a stream of objects:</p>
  
  <pre><code>Stream&lt;MyObject&gt; myObjects = 
         IntStream
          .range(0, count)
          .map(id -&gt; new MyObject(id));
  </code></pre>
  
  <p>But it says that it cannot convert <code>MyObject</code> to <code>int</code>.</p>