forEach
Invokes action for each element of the array in order. Does not allocate and cannot cause nested iterator errors. The array must not be structurally modified by action.
Invokes action for each value of the IntSet. Uses the set's reusable iterator: it does not allocate, but - like any other IntSet iteration - it cannot be nested with another iteration over the same set.