Type

Method name

Parameter types

Return type

  findAll _ Set
  findAll Closure Set
  flatten _ Set
  grep _ Set
  grep Object Set
  intersect Iterable Set
  leftShift Object Set
  minus Collection Set
  minus Iterable Set
  minus Object Set
  plus Collection Set
plus Iterable Set
  plus Object Set
  split Closure List
SortedMap      
  asImmutable _ SortedMap
  asSynchronized _ SortedMap
  sort _ SortedMap
  toSorted _ Map
SortedSet      
  asImmutable _ SortedSet
  asSynchronized _ SortedSet
  drop int SortedSet
  dropRight int SortedSet
  dropWhile Closure SortedSet
  each Closure SortedSet
  eachWithIndex Closure SortedSet
  flatten _ SortedSet
  init _ SortedSet ...

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.