Archive | May, 2011

Recursion in Groovy

18 May

since it’s new for me entering the groovy world, it took time to search for how to do recursion in groovy..because the usual one is getting error…nice we have google that makes thing easier..finally i find how to do this..just use ‘’

def functionName = { params1, params2 ->
     // place needed code here, params22) //  recursion
     // place needed code here