jOOQ / jOOL

jOOλ - The Missing Parts in Java 8 jOOλ improves the JDK libraries in areas where the Expert Group's focus was elsewhere. It adds tuple support, function support, and a lot of additional functionality around sequential Streams. The JDK 8's main efforts (default methods, lambdas, and the Stream API) were focused around maintaining backwards compatibility and implementing a functional API for parallelism.
http://www.jooq.org/products
Apache License 2.0
2.09k stars 168 forks source link

Index of elements supported with foreach #348

Closed superlins closed 5 years ago

superlins commented 5 years ago

Expected behavior and actual behavior:

Nothing and also some suggestion..

Steps to reproduce the problem:

See a code segment below java

Versions:

lukaseder commented 5 years ago

jOOλ has this functionality that does exactly the same thing, in a different way:

Seq.zipWithIndex(elements)
   .forEach(...)