O'Reilly logo

Groovy in Action, Second Edition by Dierk König and Paul King with Guillaume Laforge, Hamlet D'Arcy, Cédric Champeau, Erik Pragt, and Jon Skeet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Type

Method name

Parameter types

Return type

  asBoolean _ Boolean
  iterator _ Iterator
  toList _ List
  toSet _ Set
Iterator      
  any Closure Boolean
  asBoolean _ Boolean
  collectEntries _ Map
  collectEntries Closure Map
  collectEntries Map Map
  collectEntries Map, Closure Map
  collectMany Closure List
  count Closure Number
  count Object Number
  countBy Closure Map
  drop int Iterator
  dropRight int Iterator
  dropWhile Closure Iterator
  each Closure Iterator
  eachWithIndex Closure Iterator
  every Closure Boolean
  getAt int Object
  indexed _ Iterator
  indexed int Iterator
  init _ Iterator
  inject Object, Closure Object
  iterator _ Iterator

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required