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.