forEachItem
Invokes action for each element of the array in order. Unlike Iterable.forEach and iterate, this does not use GdxArray.iterator, which means it does not allocate and can be safely nested - even with other iterations over the same array. The array must not be structurally modified by action.
Named forEachItem because an extension called forEach would be shadowed by the member java.lang.Iterable.forEach inherited by GdxArray, which does use the shared iterator.