forEach method

Executes a function on each element of the set.

void forEach(
void action(E element)
)

Executes a function on each element of the set.

The elements are iterated in insertion order.