Re: generics and arrays and multi-class collections
- From: SadRed <cardinal_ring@xxxxxxxxxxx>
- Date: Sat, 29 Sep 2007 22:36:13 -0700
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 forWhat part of the source do you refer?
ArrayList. You will see Sun could
not do it without suppressing warnings.
.
- Follow-Ups:
- Re: generics and arrays and multi-class collections
- From: Roedy Green
- Re: generics and arrays and multi-class collections
- References:
- generics and arrays and multi-class collections
- From: xen
- Re: generics and arrays and multi-class collections
- From: Roedy Green
- generics and arrays and multi-class collections
- Prev by Date: Re: Great SWT Program
- Next by Date: Re: notifying particular thread to wake up.
- 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
|
|