Type

Method name

Parameter types

Return type

  toBoolean _ Boolean
  xor Boolean Boolean
CharSequence      
  asBoolean _ Boolean
  asType Class Object
  bitwiseNegate _ java.util.regex.Pattern
  capitalize _ String
  center Number String
  center Number, CharSequence String
  contains CharSequence Boolean
  count CharSequence int
  denormalize _ String
  drop int CharSequence
  dropWhile Closure CharSequence
  eachLine Closure Object
  eachLine int, Closure Object
  eachMatch CharSequence, Closure CharSequence
  eachMatch java.util.regex.Pattern, Closure CharSequence
  expand _ String
  expand int String
  expandLine int String
  find CharSequence String
  find CharSequence, Closure ...

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.