groovy 学习(二)groovy中的数据结构groovy中的面向对象类,接口的使用元编程
groovy中的数据结构groovy中列表的操作//列表//def list = new ArrayList(); java中定义列表的方式def list = [1,2,3,4,5]//println list.class//println list.size()//定义数组的方式//def array = [1,2,3,4,5] as int[]//int[] arr...