Type

Method name

Parameter types

Return type

  max Closure Object
  max Comparator Object
  min _ Object
  min Closure Object
  min Comparator Object
  minus Iterable Collection
  minus Object Collection
  multiply Number Collection
  permutations _ Set
  permutations Closure List
  plus Iterable Collection
  plus Object Collection
  size _ int
  sort _ List
  sort Closure List
  sort Boolean List
  sort Boolean, Closure List
  sort Boolean, Comparator List
  sum _ Object
  sum Closure Object
  sum Object Object
  sum Object, Closure Object
  tail _ Collection
  take int Collection
  takeRight int Collection
  takeWhile Closure Collection
  toList _ List
  toSet _ Set ...

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.