By fifthposition
via mrhaki.blogspot.com
Published: Nov 26 2009 / 01:05
Closures are reusable code blocks in Groovy. The code of the closure is executed against the delegate of the closure. By default the owner of the closure is the same as the delegate, but we can change this. We can define which object is the delegate for a closure, so we can change the object the closure is executed for.
Add your comment
Voters For This Link (12)
-
fifthposition -
aalmiray -
pron -
mswatcher -
glaforge -
paulk_asert -
BartGatsby -
john.jian.fang -
rogerjose81 -
biehl -
opensas.myopenid.com -
gubbes


