What is the meaning of this?

Stefan Schulz schulz at the-loom.de
Fri Jan 29 09:39:45 PST 2010


Am 29.01.2010 18:34, schrieb Stefan Schulz:
>> I don't know what the meaning of "this" is in a Groovy lambda.  Does
>> anyone here know?
>
>    From the Groovy definition:
> "Closures always have a return value. The value may be specified via one
> or more explicit return statement in the closure body, or as the value
> of the last executed statement if return is not explicitly specified."

I was so focused on returns, that I missed the point of the question. I 
did not see anything about closures and the use of "this", yet.

Stefan


More information about the lambda-dev mailing list