Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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

FlexNet Code Aware, a free scan tool for developers. Scan Java, NuGet, and NPM packages for open source security and open source license compliance issues.

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.

 Scan Java, NuGet, and NPM packages for open source security and license compliance issues. 

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}