Jun 242010
 

Q I have an ArrayList of known length, each element containing a comma separated string, some list members may be empty, the list starts empty and is built up. But the list elements start null, is there a way to initialise them?
A def myArrayList = (0..99).collect { ” }

 Posted by on June 24, 2010  Tagged with:

Sorry, the comment form is closed at this time.