#About
groovy语言学习用
注意!!!!这是用IDEA编写的Java项目,不是android studio中的android项目.
#Index
###s2014
初学groovy书中的内容
###s2015
新的一年
####t01
#####t20150102
一段groovy与swift区别
#####t20150105
实现一个NodeList,允许每个元素可以调用其前后无素
#####t20150106
-
GetFieldWithoutGetMethod
实现取得类中的一个值,并且不通过get方法
-
RunText
直接执行字符串的内容 println Eval.me('1+2/3')
#####t20150107
-
ListAndArray
测试声明数组时,是否每个元素都需要实例化.最后结论:需要
-
CurriedClosureTest
测试科里化闭包
-
ClassA 和 ClassB
测试类之间的调用关系
-
FinalAXXXXX
测试 final属性有没有用:有用
#####t20150108
iterator
#####t20150109
int list to String list
#####t20150114
一个Java语言与Groovy语言差别的样例:groovy到底可以写得多简单
#####t20150114
多返回值的方法
#####t20150117
ReflectTest:简单的反射测试,包括成员变量的反射和方法的反射
FindWinner:根据文件,查询条件取得结果
#####t20150124
Convert:自动把自定义类型转型的办法:
Convert.from( String ).to( Date ).using { new java.text.SimpleDateFormat('MM-dd-yyyy').parse(value) }
def christmas = '12-25-2010' as Date
####t02
#####t20150201
几个获取控制台输入的小程序
#####t20150205
甘特图练习
#####t20150208
BitComputing 位运算
#####t20150221
CallbackDemo 回调用演示程序
#####t20150226
并行/并发 的各语言版本对比
#####t20150317
定时器
#####t20150320
Switch demo