ArrayMethods
The ArrayMethods
class contains a series of methods for
manipulating Iterable
s. The methods 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 methods for performing advanced operations on arrays and collections natively.
Here's a snippet using methods in ArrayMethods
:
-
Just call the method in Groovy as you would call any static method. ↩