org.codehaus.gpars

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

java.lang.Object
  ODCPap
      groovyx.gpars.extra166y.AbstractParallelAnyArray.ORDCPap

static final class AbstractParallelAnyArray.ORDCPap
extends ODCPap

Field Summary
IntAndObjectPredicate selector

 
Constructor Summary
AbstractParallelAnyArray.ORDCPap(ForkJoinPool ex, int origin, int fence, java.lang.Object[] array, IntAndObjectPredicate selector, IntAndObjectToDouble op)

 
Method Summary
boolean hasFilter()

boolean isSelected(int i)

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

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

ParallelArrayWithMapping withIndexedMapping(IntAndDoubleToObject mapper)

ParallelArrayWithDoubleMapping withIndexedMapping(IntAndDoubleToDouble mapper)

ParallelArrayWithLongMapping withIndexedMapping(IntAndDoubleToLong mapper)

ParallelArrayWithDoubleMapping withMapping(DoubleOp op)

ParallelArrayWithLongMapping withMapping(DoubleToLong op)

ParallelArrayWithMapping withMapping(DoubleToObject op)

 

Field Detail

selector

final IntAndObjectPredicate selector


 
Constructor Detail

AbstractParallelAnyArray.ORDCPap

AbstractParallelAnyArray.ORDCPap(ForkJoinPool ex, int origin, int fence, java.lang.Object[] array, IntAndObjectPredicate selector, IntAndObjectToDouble op)


 
Method Detail

hasFilter

boolean hasFilter()


isSelected

boolean isSelected(int i)


leafApply

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


leafReduce

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


withIndexedMapping

public ParallelArrayWithMapping withIndexedMapping(IntAndDoubleToObject mapper)


withIndexedMapping

public ParallelArrayWithDoubleMapping withIndexedMapping(IntAndDoubleToDouble mapper)


withIndexedMapping

public ParallelArrayWithLongMapping withIndexedMapping(IntAndDoubleToLong mapper)


withMapping

public ParallelArrayWithDoubleMapping withMapping(DoubleOp op)


withMapping

public ParallelArrayWithLongMapping withMapping(DoubleToLong op)


withMapping

public ParallelArrayWithMapping withMapping(DoubleToObject op)


 

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