import java.util.concurrent.*; import java.util.*; public class Histogram extends RecursiveTask { static final ForkJoinPool fjPool=new ForkJoinPool(); int[] array; //the input data; NOT the output data - that gets returned each time int lo,hi; static final int SEQUENTIAL_CUTOFF=1000; public Histogram(int[] arr,int l,int h) { array=arr; lo=l; hi=h; } public int[] compute() { if(hi-lo<=SEQUENTIAL_CUTOFF) { int[] results=new int[10]; //these will initialize to 0 for(int i=lo;i