org.codehaus.gpars

groovyx.gpars.extra166y
[Java] Class AbstractParallelAnyArray.DFPap

java.lang.Object
  groovyx.gpars.extra166y.AbstractParallelAnyArray.DPap
      groovyx.gpars.extra166y.ParallelDoubleArrayWithDoubleMapping
          groovyx.gpars.extra166y.ParallelDoubleArrayWithFilter
              groovyx.gpars.extra166y.AbstractParallelAnyArray.DFPap

static final class AbstractParallelAnyArray.DFPap
extends ParallelDoubleArrayWithFilter

Field Summary
DoublePredicate selector

 
Constructor Summary
AbstractParallelAnyArray.DFPap(ForkJoinPool ex, int origin, int fence, double[] array, DoublePredicate selector)

 
Method Summary
boolean hasFilter()

boolean isSelected(int i)

void leafApply(int lo, int hi, DoubleProcedure procedure)

void leafBinaryIndexMap(int l, int h, IntAndDoubleToDouble op)

void leafCombineInPlace(int l, int h, double[] other, int otherOffset, BinaryDoubleOp combiner)

void leafCombineInPlace(int l, int h, ParallelDoubleArrayWithDoubleMapping other, int otherOffset, BinaryDoubleOp combiner)

void leafFill(int l, int h, double value)

void leafGenerate(int l, int h, DoubleGenerator generator)

void leafIndexMap(int l, int h, IntToDouble op)

double leafReduce(int lo, int hi, DoubleReducer reducer, double base)

void leafTransform(int l, int h, DoubleOp op)

ParallelDoubleArrayWithFilter withFilter(DoublePredicate selector)

ParallelDoubleArrayWithFilter withIndexedFilter(IntAndDoublePredicate selector)

ParallelDoubleArrayWithMapping withIndexedMapping(IntAndDoubleToObject mapper)

ParallelDoubleArrayWithDoubleMapping withIndexedMapping(IntAndDoubleToDouble mapper)

ParallelDoubleArrayWithLongMapping withIndexedMapping(IntAndDoubleToLong mapper)

ParallelDoubleArrayWithMapping withMapping(DoubleToObject op)

ParallelDoubleArrayWithDoubleMapping withMapping(DoubleOp op)

ParallelDoubleArrayWithLongMapping withMapping(DoubleToLong op)

 
Methods inherited from class ParallelDoubleArrayWithFilter
allUniqueElements, dget, hasAllEqualElements, leafTransfer, leafTransferByIndex, replaceWithGeneratedValue, replaceWithMappedIndex, replaceWithMappedIndex, replaceWithMapping, replaceWithMapping, replaceWithMapping, replaceWithValue, withFilter, withFilter, withIndexedFilter
 
Methods inherited from class ParallelDoubleArrayWithDoubleMapping
all, apply, max, max, min, min, reduce, sequentially, sum, summary, summary, withIndexedMapping, withIndexedMapping, withIndexedMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping
 

Field Detail

selector

final DoublePredicate selector


 
Constructor Detail

AbstractParallelAnyArray.DFPap

AbstractParallelAnyArray.DFPap(ForkJoinPool ex, int origin, int fence, double[] array, DoublePredicate selector)


 
Method Detail

hasFilter

boolean hasFilter()


isSelected

boolean isSelected(int i)


leafApply

final void leafApply(int lo, int hi, DoubleProcedure procedure)


leafBinaryIndexMap

final void leafBinaryIndexMap(int l, int h, IntAndDoubleToDouble op)


leafCombineInPlace

final void leafCombineInPlace(int l, int h, double[] other, int otherOffset, BinaryDoubleOp combiner)


leafCombineInPlace

final void leafCombineInPlace(int l, int h, ParallelDoubleArrayWithDoubleMapping other, int otherOffset, BinaryDoubleOp combiner)


leafFill

final void leafFill(int l, int h, double value)


leafGenerate

final void leafGenerate(int l, int h, DoubleGenerator generator)


leafIndexMap

final void leafIndexMap(int l, int h, IntToDouble op)


leafReduce

final double leafReduce(int lo, int hi, DoubleReducer reducer, double base)


leafTransform

final void leafTransform(int l, int h, DoubleOp op)


withFilter

public ParallelDoubleArrayWithFilter withFilter(DoublePredicate selector)


withIndexedFilter

public ParallelDoubleArrayWithFilter withIndexedFilter(IntAndDoublePredicate selector)


withIndexedMapping

public ParallelDoubleArrayWithMapping withIndexedMapping(IntAndDoubleToObject mapper)


withIndexedMapping

public ParallelDoubleArrayWithDoubleMapping withIndexedMapping(IntAndDoubleToDouble mapper)


withIndexedMapping

public ParallelDoubleArrayWithLongMapping withIndexedMapping(IntAndDoubleToLong mapper)


withMapping

public ParallelDoubleArrayWithMapping withMapping(DoubleToObject op)


withMapping

public ParallelDoubleArrayWithDoubleMapping withMapping(DoubleOp op)


withMapping

public ParallelDoubleArrayWithLongMapping withMapping(DoubleToLong op)


 

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