[prev in list] [next in list] [prev in thread] [next in thread]
List: groovy-user
Subject: Re: [groovy-user] anArray.name
From: Peter Niederwieser <pniederw () gmail ! com>
Date: 2010-04-30 21:11:34
Message-ID: 28416757.post () talk ! nabble ! com
[Download RAW message or body]
The (explicit use of the) spread operator is only required if you are calling
a method, e.g.:
println methodArray*.getName()
Cheers,
Peter
Tim Yates wrote:
>
> Oddly, I would have expected that you'd need to use the spread operator
> like
> so:
>
> println methodArray*.name
>
--
View this message in context: http://old.nabble.com/anArray.name-tp28414780p28416757.html
Sent from the groovy - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic