Re: CIAO, How can I sort an ArrayList<K> of Generic Types ?
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 23 May 2008 18:12:54 GMT
On Fri, 23 May 2008 08:14:04 -0400, Lew <conrad@xxxxxxxxxxxxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
Aha. So you mean
public class Foo implements Comparable <Foo>
{ ... }
If you leave off the "<Foo>" you get a raw type warning.
Nearly always I just give a brief summary of what I explain at the
link, in this case
http://mindprod.com/jgloss/comparable.html
and
http://mindprod.com/jgloss/sort.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- References:
- CIAO, How can I sort an ArrayList<K> of Generic Types ?
- From: Giordano
- Re: CIAO, How can I sort an ArrayList<K> of Generic Types ?
- From: Roedy Green
- Re: CIAO, How can I sort an ArrayList<K> of Generic Types ?
- From: Lew
- Re: CIAO, How can I sort an ArrayList<K> of Generic Types ?
- From: Roedy Green
- Re: CIAO, How can I sort an ArrayList<K> of Generic Types ?
- From: Lew
- CIAO, How can I sort an ArrayList<K> of Generic Types ?
- Prev by Date: Re: 'javac is not an internal or external command' this is the error iam getting while compiling a simple program
- Next by Date: downloading 1.5
- Previous by thread: Re: CIAO, How can I sort an ArrayList<K> of Generic Types ?
- Next by thread: hibernate: mapping help
- Index(es):
Relevant Pages
|
|