[1,2,3,4].collect { it * it }