Groovy 基本語法(2)-Closure(2). 邊看邊學Groovy/Grails/Gradle 系列第4 篇 ... 的使用更具彈性,藉著呼叫clsoure的call()方法,執行額外定義的closure程式,如以下範例.
確定! 回上一頁