java for -> functional foreach