title: Difference LongStream VS Stream in Collectors.toList()
body: <p>Why when I am getting a list from a <code>LongStream</code> with <code>Collectors.toList()</code> got an error but with <code>Stream</code> there is no error?</p>
  
  <p>Examples : </p>
  
  <p>ERROR :  </p>
  
  <pre><code>Something.mapToLong(Long::parseLong).collect(Collectors.toList())
  </code></pre>
  
  <p>Correct : </p>
  
  <pre><code>Something.map(Long::valueOf).collect(Collectors.toList())
  </code></pre>