Java with Generators.