September 2019
Intermediate to advanced
816 pages
18h 47m
English
Now, that we are familiar with the fork/join framework, let's see another problem. This time let's assume that we have a suite of ForkJoinTask objects that are interdependent. The following diagram can be considered a use case:

Here is the description of the preceding diagram:
In code lines, we will shape it as follows:
ForkJoinPool forkJoinPool = ForkJoinPool.commonPool();Task taskA = new Task("Task-A", new Adder(1));Task ...