A groovy closure is a piece of code wrapped as an object. It acts as a method or a function. Example of simple closure def myClosure = { println ...
確定! 回上一頁