org.codehaus.gpars

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

java.lang.Object
  groovyx.gpars.extra166y.AbstractParallelAnyArray.DPap
      groovyx.gpars.extra166y.ParallelDoubleArrayWithDoubleMapping
          groovyx.gpars.extra166y.ParallelDoubleArrayWithFilter
              groovyx.gpars.extra166y.ParallelDoubleArrayWithBounds
                  groovyx.gpars.extra166y.AbstractParallelAnyArray.DUPap

static class AbstractParallelAnyArray.DUPap
extends ParallelDoubleArrayWithBounds

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

 
Method Summary
int binarySearch(double target)

int binarySearch(double target, DoubleComparator comparator)

ParallelDoubleArrayWithBounds cumulate(DoubleReducer reducer, double base)

ParallelDoubleArrayWithBounds cumulateSum()

int indexOf(double target)

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)

double precumulate(DoubleReducer reducer, double base)

double precumulateSum()

ParallelDoubleArrayWithBounds sort(DoubleComparator cmp)

ParallelDoubleArrayWithBounds sort()

ParallelDoubleArrayWithBounds withBounds(int lo, int hi)

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 ParallelDoubleArrayWithBounds
binarySearch, binarySearch, cumulate, cumulateSum, indexOf, precumulate, precumulateSum, sort, sort, withBounds
 
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
 

Constructor Detail

AbstractParallelAnyArray.DUPap

AbstractParallelAnyArray.DUPap(ForkJoinPool ex, int origin, int fence, double[] array)


 
Method Detail

binarySearch

public int binarySearch(double target)


binarySearch

public int binarySearch(double target, DoubleComparator comparator)


cumulate

public ParallelDoubleArrayWithBounds cumulate(DoubleReducer reducer, double base)


cumulateSum

public ParallelDoubleArrayWithBounds cumulateSum()


indexOf

public int indexOf(double target)


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)


precumulate

public double precumulate(DoubleReducer reducer, double base)


precumulateSum

public double precumulateSum()


sort

public ParallelDoubleArrayWithBounds sort(DoubleComparator cmp)


sort

public ParallelDoubleArrayWithBounds sort()


withBounds

public ParallelDoubleArrayWithBounds withBounds(int lo, int hi)


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.