forEach method

void forEach (void action(E element))