title: Why isn't there IntStream.flatMapToObj()?
body: <p>I'm trying to do something like this:</p>
  
  <pre><code>Stream&lt;Object&gt; stream = IntStream.of(...)
          .flatMapToObj(i -&gt; getStreamOfObjects(i));
  </code></pre>
  
  <p>Unfortunately, <code>IntStream.flatMapToObj()</code> doesn't exist, even in Java 9.</p>
  
  <ol>
  <li>Why was it left out?</li>
  <li>What's a recommended workaround?</li>
  </ol>