@@ -0,0 +1,992 @@
+package com.conger.test.r3;%0A%0Aimport java.util.concurrent.ForkJoinPool;%0Aimport java.util.concurrent.ForkJoinTask;%0Aimport java.util.concurrent.RecursiveTask;%0A%0Apublic class ForkJoinTest%0A%7B%0A%0A    public static void main(String%5B%5D args)%0A    %7B%0A        ForkJoinPool forkJoinPool = new ForkJoinPool();%0A        ForkJoinTask%3CLong%3E forkJoinTask = new RecursiveTask%3CLong%3E()%0A        %7B%0A            private static final long serialVersionUID = 1L;%0A%0A            @Override%0A            protected Long compute()%0A            %7B%0A                ForkJoinTask%3CLong%3E forkJoinTask = new RecursiveTask%3CLong%3E() %7B%0A                    private static final long serialVersionUID = 1L;%0A%0A                    @Override%0A                    protected Long compute() %7B%0A                        return 1000l;%0A                    %7D%0A                %7D;%0A                forkJoinTask.fork();%0A                return 100l + forkJoinTask.join();%0A            %7D%0A        %7D;%0A        System.out.println(forkJoinPool.invoke(forkJoinTask));%0A    %7D%0A%7D%0A

add fork join task test