Re: generics and arrays and multi-class collections



On Sep 30, 1:48 pm, Roedy Green <see_webs...@xxxxxxxxxxxxxxxxxxxx>
wrote:
On Sat, 29 Sep 2007 17:38:06 -0700, xen <x...@xxxxxxxxxx> wrote, quoted
or indirectly quoted someone who said :

Is there anybody out there that writes code that does NOT generate
unchecked warnings?

Have a peek inside the source for ArrayList. You will see Sun could
not do it without suppressing warnings. I get the idea Sun is going
to redo generics, perhaps throwing out type erasure and dealing with
embarrassments like this.
--
Roedy Green Canadian Mind Products
The Java Glossaryhttp://mindprod.com

Have a peek inside the source for
ArrayList. You will see Sun could
not do it without suppressing warnings.
What part of the source do you refer?

.



Relevant Pages