title: How to flatmap a stream of streams in Java?
body: <p>I want to transform the stream of streams of objects to a single stream of objects. I know that I have to use the <code>flatMap</code> method, but I'm not able to achieve that, look at:</p>
  
  <pre><code>Stream&lt;Stream&lt;Object&gt;&gt; objectStreams = ...
  Stream&lt;Object&gt; flatMappedStream = objectStreams.flatMap( ... );
  </code></pre>
  
  <p>Could anyone please help me?</p>