Iterate over all element of this and call the given function func
for each element.
this |
The Iterator to iterate |
func |
the function to call for each element. |
user_data |
user data passed to the function |