摘要: http://docs.groovy-lang.org/latest/html/gapi/index.html?overview-summary.html 阅读全文
posted @ 2019-12-26 16:09 筱筱的春天 阅读(147) 评论(0) 推荐(0)
摘要: each例子:def a = [1, 2, 3, 4]a.each { if (it == 2) return true // 满足条件本轮循环结束 println it} 阅读全文
posted @ 2019-12-26 15:35 筱筱的春天 阅读(3037) 评论(0) 推荐(0)