Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Patch
Description
Since arrays have well defined ordering, it would be nice if they had a reverseEach method like List does.
I'm providing a patch to add this behavior. In addition, it changes the implementation of List.reverseEach to use the ListIterator to iterate in reverse instead of copying the list first, which is helpful for iterating large lists in reverse efficiently.