Re: generics and arrays and multi-class collections
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 30 Sep 2007 04:48:22 GMT
On Sat, 29 Sep 2007 17:38:06 -0700, xen <xen@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 Glossary
http://mindprod.com
.
- Follow-Ups:
- Re: generics and arrays and multi-class collections
- From: SadRed
- Re: generics and arrays and multi-class collections
- References:
- Prev by Date: Re: generics and arrays and multi-class collections
- Next by Date: Re: generics and arrays and multi-class collections
- Previous by thread: Re: generics and arrays and multi-class collections
- Next by thread: Re: generics and arrays and multi-class collections
- Index(es):
Relevant Pages
|