« Return to Thread: generics support

Re: generics support

by Daniel.Sun :: Rate this Message:

Reply to Author | View in Thread

Jochen,

Good job :)

Thanks,
Daniel.Sun
Jochen Theodorou wrote:
Hi all,

the compiler is now able to support most of the generics declaration
features. It is now possible to use generics in methods, fields and
class definitions using wildcards, lower and upper bounds. The
implementation might have several bugs, I tried to find them, but of
course I can't foresee all cases.

Things that are currently missing:
* covariant return types (might come soon)
* compile time checks for correct usage of the number of parameters
(might not yet be implemented as it requires java5 features)

have fun

bye blackdrag

--
Jochen "blackdrag" Theodorou
Groovy Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

 « Return to Thread: generics support