public static <T> List<T> reverseEach(List<T> self, @ClosureParams(FirstParam.FirstGenericType.class) Closure closure) {
        each(new ReverseListIterator<T>(self), closure);
        return self;
    }
public static < T > List < T > reverseEach ( List < T > self , @ ClosureParams ( FirstParam . FirstGenericType . class ) Closure closure ) { each ( new ReverseListIterator < T > ( self ) , closure ) ; return self ; }
Iterate over each element of the list in the reverse order.
<pre class="groovyTestCase">def result = []
[1,2,3].reverseEach { result &lt;&lt; it }
assert result == [3,2,1]</pre>

@param self    a List
@param closure a closure to which each item is passed.
@return the original list
@since 1.5.0