Groovy web console

subscribe to the feed Subscribe
to this
site
Adding objects to ArrayList (via #groovywebconsole)
tweet this snippet Tweet
this
script

Adding objects to ArrayList

Published 3 years ago by James Jensen
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
ArrayList<?> list = new ArrayList<?>();
list.add("hello");
return list;