Collection c = ['1'] void doSomethingWithMyC(c) { c.add('2') } for (Object a in c) { doSomethingWithMyC(c) }