groovyx.gpars.extra166y
Class PAS.FJDCombineInPlace

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.FJDCombineInPlace
All Implemented Interfaces:
java.io.Serializable, java.util.concurrent.Future<java.lang.Void>
Enclosing class:
PAS

static final class PAS.FJDCombineInPlace
extends PAS.FJBase


Field Summary
(package private)  Ops.BinaryDoubleOp combiner
           
(package private)  double[] other
           
(package private)  int otherOffset
           
 
Fields inherited from class groovyx.gpars.extra166y.PAS.FJBase
hi, lo, next, pap
 
Constructor Summary
PAS.FJDCombineInPlace(AbstractParallelAnyArray pap, int lo, int hi, PAS.FJBase next, double[] other, int otherOffset, Ops.BinaryDoubleOp 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 double[] other

otherOffset

final int otherOffset

combiner

final Ops.BinaryDoubleOp combiner
Constructor Detail

PAS.FJDCombineInPlace

PAS.FJDCombineInPlace(AbstractParallelAnyArray pap,
                      int lo,
                      int hi,
                      PAS.FJBase next,
                      double[] other,
                      int otherOffset,
                      Ops.BinaryDoubleOp 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.