void forEach(void action(E element))

Executes a function on each element of the set.

The elements are iterated in insertion order.

Source

void forEach(void action(E element));