Regulate Current with User Subroutine Using Groovy Language

Groovy Language is a dynamic language with features similar to those of Python, Ruby, Perl, and Smalltalk. Groovy is an object-oriented programming language for the Java platform. Most Java code is also syntactically valid Groovy, although semantics may be different.