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

  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 ...

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