groovyx.gpars.extra166y
Class PAS.FJOPACombineInPlace

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

static final class PAS.FJOPACombineInPlace
extends PAS.FJBase


Field Summary
(package private)  Ops.BinaryOp combiner
           
(package private)  ParallelArrayWithMapping other
           
(package private)  int otherOffset
           
 
Fields inherited from class groovyx.gpars.extra166y.PAS.FJBase
hi, lo, next, pap
 
Constructor Summary
PAS.FJOPACombineInPlace(AbstractParallelAnyArray pap, int lo, int hi, PAS.FJBase next, ParallelArrayWithMapping other, int otherOffset, Ops.BinaryOp combiner)
           
 
Method Summary
(package private)  void atLeaf(int l, int h)
          Leaf computation
(package private)  PAS.FJBase newSubtask(int l, int h, PAS.FJBase r)
          Factory method to create new subtask, normally of current type
 
Methods inherited from class groovyx.gpars.extra166y.PAS.FJBase
compute, internalCompute, onReduce
 
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

other

final ParallelArrayWithMapping other

otherOffset

final int otherOffset

combiner

final Ops.BinaryOp combiner
Constructor Detail

PAS.FJOPACombineInPlace

PAS.FJOPACombineInPlace(AbstractParallelAnyArray pap,
                        int lo,
                        int hi,
                        PAS.FJBase next,
                        ParallelArrayWithMapping other,
                        int otherOffset,
                        Ops.BinaryOp combiner)
Method Detail

newSubtask

PAS.FJBase newSubtask(int l,
                      int h,
                      PAS.FJBase r)
Description copied from class: PAS.FJBase
Factory method to create new subtask, normally of current type

Specified by:
newSubtask in class PAS.FJBase

atLeaf

void atLeaf(int l,
            int h)
Description copied from class: PAS.FJBase
Leaf computation

Specified by:
atLeaf in class PAS.FJBase

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