like this:
Groovy:

map = ['a':1,'b':2]
doubler = this.&doubleMethod
map.each(doubler)
println map

What's the "&" used for here?

Edit
Report