Re: A List with template
- From: Philipp Leitner <philipp.leitner@xxxxxx>
- Date: Mon, 29 May 2006 12:25:11 +0200
I don't know if it's a typo but
"List<string>"
/is/ in fact no valid type. List<String> (note the capital S) would be, but only if you are using Java version 5.
If this book that you are mentioning is not very recent it may not have a chapter about generics since they are a quite new feature in Java.
.... but if you have problems compiling a OSS project it may be best not to post in c.l.j.programmers, but instead contact the project team directly and ask what might be going wrong. They will be able to help you - we here most probably won't.
/philipp
海风 schrieb:
I am studying a java project downloaded from internet, but i can not.
compile it correctly.
one error is that List<string> is not a type, but i have import
java.util.List .why?
on the other hand, from a book named thinking in java i can not find
any info about a List with template.
- Follow-Ups:
- Re: A List with template
- From: 海风
- Re: A List with template
- References:
- A List with template
- From: 海风
- A List with template
- Prev by Date: Re: Constructors
- Next by Date: Re: A List with template
- Previous by thread: Re: A List with template
- Next by thread: Re: A List with template
- Index(es):