News for hackers. Stuff that matters.
Re:Streams in Java 8 by alkonaut on Monday February 10, 2014 @04:06AM (#7209910)
The runtime type erasure would have to be quite clever to realize that a ArrayList<Integer> should be backed by a primitive array of ints? One alternative is to erase ArrayList<T> into all variants (One for objects and one for each primitive type).

(In C# System.Int32 is a value type, and an "int" is equivalent). A List<Int32> is equivalent to a List<int> and is backed by an array of ints.)

There are no comments on this comment yet.