title: Why are new java.util.Arrays methods in Java 8 not overloaded for all the primitive types?
body: <p>I'm reviewing the API changes for Java 8 and I noticed that the new methods in <code>java.util.Arrays</code> are not overloaded for all primitives. The methods I noticed are:</p>
  
  <ul>
  <li><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Arrays.html#parallelSetAll-T:A-java.util.function.IntFunction-">parallelSetAll</a></li>
  <li><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Arrays.html#parallelPrefix-T:A-java.util.function.BinaryOperator-">parallelPrefix</a></li>
  <li><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Arrays.html#spliterator-T:A-">spliterator</a></li>
  <li><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Arrays.html#stream-T:A-">stream</a></li>
  </ul>
  
  <p>Currently these new methods only handle <code>int</code>, <code>long</code>, and <code>double</code> primitives. </p>
  
  <p><code>int</code>, <code>long</code>, and <code>double</code> are probably the most widely used primitives so it makes sense that if they had to limit the API that they would choose those three, but why did they have to limit the API?</p>