title: Can the Java stream consume / destroy the source collection at the same time?
body: <p>Sample:</p>
  <pre><code>public class Dummy {
      public static void main(String[] args) {
          List&lt;Integer&gt; numbers = Arrays.asList(1, 2, 3);
          List&lt;Integer&gt; squareNumbers = numbers.stream().map(x -&gt; x * x).collect(Collectors.toList());
          // I don't need `numbers` anymore.
          System.out.println(squareNumbers);
      }
  }
  </code></pre>
  <p>After creating <code>squareNumbers</code> collection, I don't need <code>numbers</code> collection anymore.
  I want to release the <code>numbers</code> collection elements as soon as possible (to free the memory).
  Can I achieve this by using Java streams?</p>