recursion
I wish Java had a map function
#
Not for the first time, I wish Java had a map function. I'd like to call the same method on every element of a Collection and return the result.
— January 14, 2003