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
 

Get Groovy in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.