groovyx.gpars.extra166y
Class PAS.FJLCombineInPlace

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

static final class PAS.FJLCombineInPlace
extends PAS.FJBase


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

otherOffset

final int otherOffset

combiner

final Ops.BinaryLongOp combiner
Constructor Detail

PAS.FJLCombineInPlace

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