First they ignore you
then they ridicule you
then they fight you
then you win
    -- Mahatma Gandhi
Chinese => English     英文 => 中文             
随笔-221  评论-1047  文章-0  trackbacks-0
12 2007 档案
Groovy解惑——closure中的owner      摘要: 在上篇《Groovy解惑——closure中的delegate》中,我帮大家讲解了delegate是什么以及其作用。
本篇将讲解一下closure中的owner,以及this,delegate以及owner三者间的关系。  阅读全文
posted @ 2007-12-23 01:43 山风小子| 编辑
Groovy解惑——closure中的delegate      摘要: 曾经很多Groovy开发者问我closure中的delegate是什么,有什么作用?
通过研究两个例子,我们就清楚了 :)  阅读全文
posted @ 2007-12-22 15:50 山风小子| 编辑
Groovy1.5 正式发布!      摘要: 由于这次发布的Groovy版本包含了很多Java5的特性,并修正(fix)了很多错误,且增添了许多新特性,1.1这个版本号已经无法反映这么多令人振奋的改进了,所以Groovy Team决定将本次发布的Groovy版本定为1.5。注意目前最新稳定版为Groovy1.5了,而非之前的Groovy1.0。  阅读全文
posted @ 2007-12-08 09:50 山风小子| 编辑