How can you check when a Java 8 Stream.forEach() finishes iterating?
I want to use the parallelism that Java 8 Streams provide, but I also need certain operations to be done in a specific order or else everything will break. The problem is that using a stream means …