ArrayFunctions
The Array
class contains a series of functions for
manipulating Iterable
s. The functions in this class are intended for use in
Gloop only, although they are still available for use in
Groovy code1.
Recommended for use in Gloop only
Groovy already provides functions for performing advanced operations on arrays and collections natively.
Here's a snippet using functions in Array
:
-
Just call the function in Groovy as you would call any static function. ↩