def x = ['a', 'b', 'c'] def y = ['A', 'B', 'C'] def z = [1, 2, 3] synchedConcat(x, y, z).each { println it }