void forEach(
void action(E element)
)

Executes a function on each element of the set.

The elements are iterated in insertion order.

Source

/**
 * Executes a function on each element of the set.
 *
 * The elements are iterated in insertion order.
 */
void forEach(void action(E element));