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 { ” }

Sorry, the comment form is closed at this time.