List of usage examples for java.util.concurrent ForkJoinPool toString
public String toString()
From source file:Test.java
public static void main(String[] args) { int numbers[] = new int[100000]; ForkJoinPool forkJoinPool = new ForkJoinPool(); long result = forkJoinPool.invoke(new SumOfSquaresTask(0, numbers.length)); System.out.println("forkJoinPool: " + forkJoinPool.toString()); System.out.println("forkJoinPool: " + forkJoinPool.toString()); System.out.println("Sum of squares: " + result); }