/ Published in: Groovy

This, owner, and delegate:
this : as in Java, this refers to the instance of the enclosing class where a Closure is defined
owner : the enclosing object (this or a surrounding closure)
delegate : by default the same as owner, but changeable.
(http://groovy.codehaus.org/Closures).
this : as in Java, this refers to the instance of the enclosing class where a Closure is defined
owner : the enclosing object (this or a surrounding closure)
delegate : by default the same as owner, but changeable.
(http://groovy.codehaus.org/Closures).
Expand |
Embed | Plain Text
Comments
