Possible Duplicate:
Is there a Java equivalent to C#'s 'yield' keyword?
Does Java have Python style generators with the full call/yield (run/freeze) features of that Python feature?
http://www.python.org/dev/peps/pep-0255/
-- roschler
Possible Duplicate:
Is there a Java equivalent to C#'s 'yield' keyword?
Does Java have Python style generators with the full call/yield (run/freeze) features of that Python feature?
http://www.python.org/dev/peps/pep-0255/
-- roschler