groovy 的map类型. 声明. 声明一个空的map. def map1 = [:] assert map1.size() == 0. 1. 2. 声明一个有初始化数据的map. def myMap = [a:1,b:2,c:3] ...
確定! 回上一頁