Made MappedForeach package private (foreach returns Iterable now) and changed next() to go through the bounds check.
Authored by: spasi 2011-07-13
Parent: [r3582]
Child: [r3584]