-
Type:
Enhancement
-
Resolution: Unresolved
-
Priority:
P4
-
None
-
Affects Version/s: None
-
Component/s: core-libs
Iterable.forEach(Consumer) calls the consumer with each contained element. For lists, it would also be nice if there were a variation that took the element's index as well as the element itself.
default void forEach(ObjIntConsumer<? super T> c)
default void forEach(ObjIntConsumer<? super T> c)