foreach_element


Description:

[ Version ( since = "0.8" ) ]
public void foreach_element (ArrayForeach func)

Iterates over all elements of this and calls func on each one of them.

It is safe to change the value of a Node of the this from within the iterator func, but it is not safe to add or remove elements from the this .

Parameters:

this

a Array

func

the function to be called on each element

data

data to be passed to the function