Re: Generics error messages
- From: Roedy Green <look-on@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 01 Aug 2005 01:23:18 GMT
On Sun, 31 Jul 2005 00:23:04 -0600, Chris Smith <cdsmith@xxxxxxx>
wrote or quoted :
>
>Yes, but it's kind of subtle.
I Salaam you Chris. This is indeed subtle. How did you ever figure
this out?
What practical use then is a ArrayList<? extends Automobile>?
These are just templates, waiting to be filed my concrete classes?
I have used the syntax with Comparators, where it make sense that you
might use a more generic type for your Comparator than the type your
are storing in your ArrayLists, e.g. Comparator<? super T>
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes
.
- References:
- Generics error messages
- From: Roedy Green
- Re: Generics error messages
- From: Chris Smith
- Generics error messages
- Prev by Date: EventListenerList.remove parameters
- Next by Date: Re: javascript - netscape
- Previous by thread: Re: Generics error messages
- Next by thread: Re: Generics error messages
- Index(es):