Examples of using range or a list in a switch statement

This are two examples of using ranges in switch statements.

(more…)

The inject method of list

The inject method of the list can be used for summing up the list contents.
(more…)

Named parameters in groovy

(more…)

Overloaded constructors in Groovy

(more…)