Groovy web console

subscribe to the feed Subscribe
to this
site

My map empty

Published 4 weeks ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
class MyMap {
   def getEmpty() { true }
}

def map = new MyMap()
println(map.getEmpty())
println(map.empty)