Re: generics and arrays and multi-class collections



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
.



Relevant Pages

  • Re: generics and arrays and multi-class collections
    ... not do it without suppressing warnings. ... I get the idea Sun is going ... is at least one apology for generics being broken, ...
    (comp.lang.java.programmer)
  • Re: Happy Fathers Day..
    ... although the torrents of rain have stopped ... momentarily and the sun is trying to peek out. ...
    (rec.music.beatles)
  • Re: Tribulations of full-timing
    ... Can they tow you outside ... occasionally for a peek at the sun? ... Say hi to Marie. ...
    (rec.outdoors.rv-travel)
  • Re: Wed 9/24 a.m. smoke(s)
    ... A DGT of Virginia #1 while going for the mail. ... Sun starting to peek ... through the clouds but not yet sure what the day will be like. ...
    (alt.smokers.pipes)
  • Re: Solar eyepiece projection safe for scope?
    ... who can answer this, would be "Uncle" Al Nagler himself, and you can no ... through the scope while it's pointed at the Sun. ... unattended child decides to take a peek. ...
    (sci.astro.amateur)