![](http://bp3.blogger.com/_suIoOxwG9kg/R89N2RyV0BI/AAAAAAAAAAM/n30448CnbIY/s0-d/closure.png)
ForEachConcurrently.java
There's a bonus 'for eachEntryConcurrently' in there as well.
I'm sure it can be improved (suggestions welcome) and it certainly deserves a decent explanation, which is coming, but I'll make one comment at this point:
Adding support for nonlocal transfers across different threads required two lines of code.
Two lines is easy. I like easy. Especially when threads are involved.