Basic groovy map and list iterations, just for reference :)

Note that in groovysh the def needs to be removed from the map and list definition

References

  • http://groovy-lang.org/groovysh.html
  • http://groovy-lang.org/groovy-dev-kit.html#Collections-Lists
  • http://groovy-lang.org/groovy-dev-kit.html#Collections-Maps

codergists