Groovy web console

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

max

Published 3 weeks ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def list = [1,5,3,2,5,1,3,5]

def result = list.collect{it} as Set

println (result)