groovyx.gpars.extra166y
Class PAS.FJRemoveAll

java.lang.Object
  extended by jsr166y.ForkJoinTask<java.lang.Void>
      extended by jsr166y.RecursiveAction
          extended by groovyx.gpars.extra166y.PAS.FJRemoveAll
All Implemented Interfaces:
java.io.Serializable, java.util.concurrent.Future<java.lang.Void>
Enclosing class:
PAS

static final class PAS.FJRemoveAll
extends jsr166y.RecursiveAction

Basic FJ task for non-root FJRemoveAll nodes. Differs from FJBase because it requires maintaining explicit right pointers so FJRemoveAllDriver can traverse them


Field Summary
(package private)  int count
           
(package private)  int hi
           
(package private)  int[] indices
           
(package private)  int lo
           
(package private)  PAS.FJRemoveAll next
           
(package private)  AbstractParallelAnyArray pap
           
(package private)  PAS.FJRemoveAll right
           
(package private)  int threshold
           
 
Constructor Summary
PAS.FJRemoveAll(AbstractParallelAnyArray pap, int lo, int hi, PAS.FJRemoveAll next, int[] indices)
           
 
Method Summary
 void compute()
           
 
Methods inherited from class jsr166y.RecursiveAction
exec, getRawResult, setRawResult
 
Methods inherited from class jsr166y.ForkJoinTask
adapt, adapt, adapt, cancel, complete, completeExceptionally, fork, get, get, getException, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyInvoke, quietlyJoin, reinitialize, tryUnfork
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pap

final AbstractParallelAnyArray pap

lo

final int lo

hi

final int hi

next

final PAS.FJRemoveAll next

indices

final int[] indices

count

int count

right

PAS.FJRemoveAll right

threshold

final int threshold
Constructor Detail

PAS.FJRemoveAll

PAS.FJRemoveAll(AbstractParallelAnyArray pap,
                int lo,
                int hi,
                PAS.FJRemoveAll next,
                int[] indices)
Method Detail

compute

public void compute()
Specified by:
compute in class jsr166y.RecursiveAction

Copyright © 2008–2012 Václav Pech. All Rights Reserved.