Over a million developers have joined DZone.

Groovy Goodness Notebook Updated with New Groovy 2.2 Features

DZone's Guide to

Groovy Goodness Notebook Updated with New Groovy 2.2 Features

· Java Zone
Free Resource

The single app analytics solutions to take your web and mobile apps to the next level.  Try today!  Brought to you in partnership with CA Technologies

Groovy Goodness Notebook was released in June 2013. Now I have updated the book with extra subjects, which were published on this blog. The updated book now includes the following new subjects, including new Groovy 2.2 features:

  • Check if a String Only Contains Whitespaces
  • Remove Part of String With Regular Expression Pattern
  • Replace Characters in a String with CollectReplacements
  • Cache Methods Invocations with Memoize Annotation
  • Choose Which Delegated Methods to Use
  • Create CopyWith Method with Immutable Annotation 
  • Create New Date or Calendar from Existing and Set Property Value
  • Loop Through Date and Calendar Ranges
  • Enhancements for Iterable Implementations
  • Implicit Closure Coercion
  • Running Scripts from a JAR Archive
  • Set Delegating Class for Script
  • Set Script Class with BaseScript Annotation

According to Leanpub the updates to the book should be free for those that already purchased the book. Enjoy reading.

CA App Experience Analytics, a whole new level of visibility. Learn more. Brought to you in partnership with CA Technologies.


Published at DZone with permission of Hubert Klein Ikkink, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}