list.each { elem -> println elem }. 运行结果:. a b c. 遍历map. def map = [name:"山风小子", address:"Shanghai"] map.each { key, value ->
確定! 回上一頁