document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. /* SOURCE
  2. http://download.oracle.com/javase/tutorial/essential/concurrency/forkjoin.html
  3. */
  4.  
  5. protected static int sThreshold = 100000;
  6.  
  7.   protected void compute() {
  8.     if (mLength < sThreshold) {
  9.       computeDirectly();
  10.       return;
  11.     }
  12.    
  13.     int split = mLength / 2;
  14.    
  15.     invokeAll(new ForkBlur(mSource, mStart,         split,           mDestination),
  16.               new ForkBlur(mSource, mStart + split, mLength - split, mDestination));
  17.   }
');