John Nilsson john at
Tue Jul 13 14:58:32 PDT 2010

On Tue, Jul 13, 2010 at 11:08 PM, Nathan Bryant
<nathan.bryant at> wrote:
>        void set(int i, T t) { arr[i] = t; } // Either causes autoboxing
> unbeknownst to the sorry fool who wrote new Foo<int>, or becomes illegal

How about just erasing T[] to Object and let API-developers worry
about picking an array implementation?


More information about the lambda-dev mailing list