News for hackers. Stuff that matters.
Re:Groovy Array: it just keeps going...and going... by chrisbroadfoot on Monday November 29, 2010 @08:13PM (#1952614)
It's probably generated. Here's a one-liner in Groovy to generate the class body:

   (0..249).each { println "public static Object[] createArray(${(0..it).collect{'Object arg'+it}.join(', ')}) {\n\treturn new Object[]{\n\t\t${(0..it).collect{'arg'+it}.join(', ')}};\n}\n" }
Sorry it's not the most readable thing ;)

There are no comments on this comment yet.