Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

You can see more documentation on closures linkherehere1

Wiki Markup
{link:here|http://wiki.codehaus.org/groovy/BlocksAndClosures}{link}

디랙티브를 이용한 Groovy 확장

You can provide your own specialized methods supporting closures by implementing a Java class containing such methods. These methods must be static and contain at least two parameters. The first parameter to the method must be the type on which the method should operate, and the last parameter must be a Closure type.

...