Hi Pierre, I tried it before I could not find any <break> or <continue> in miniland iterator.
But we can use <return/> statement to come out of the simple method. thanks prasath rajan 9442369696 On Wed, Jun 22, 2011 at 2:34 PM, Pierre Smits <pierre.sm...@gmail.com>wrote: > Hi all, > > I am stumped... I need to iterate through a list to find the the first > entry > given a set of parameters in a simple-method, but how do I escape from the > iteration after having found the entry? > > I know that in groovy I can do a while loop and if I have found the entry I > can issue a 'break; and close the iteration. But how do I do this in the > interation in a simple-method? > > Regards, > > Pierre >