org.codehaus.gpars

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

java.lang.Object
  groovyx.gpars.extra166y.AbstractParallelAnyArray.OPap
      groovyx.gpars.extra166y.ParallelArrayWithMapping
          groovyx.gpars.extra166y.ParallelArrayWithFilter
              groovyx.gpars.extra166y.AbstractParallelAnyArray.ORPap

static final class AbstractParallelAnyArray.ORPap
extends ParallelArrayWithFilter

Field Summary
IntAndObjectPredicate selector

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

 
Method Summary
boolean hasFilter()

boolean isSelected(int i)

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

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

void leafCombineInPlace(int l, int h, java.lang.Object[] other, int otherOffset, BinaryOp combiner)

void leafCombineInPlace(int l, int h, ParallelArrayWithMapping other, int otherOffset, BinaryOp combiner)

void leafFill(int l, int h, java.lang.Object value)

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

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

java.lang.Object leafReduce(int lo, int hi, Reducer reducer, java.lang.Object base)

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

ParallelArrayWithFilter withFilter(Predicate selector)

ParallelArrayWithFilter withIndexedFilter(IntAndObjectPredicate selector)

ParallelArrayWithMapping withIndexedMapping(IntAndObjectToObject mapper)

ParallelArrayWithDoubleMapping withIndexedMapping(IntAndObjectToDouble mapper)

ParallelArrayWithLongMapping withIndexedMapping(IntAndObjectToLong mapper)

ParallelArrayWithMapping withMapping(Op op)

ParallelArrayWithDoubleMapping withMapping(ObjectToDouble op)

ParallelArrayWithLongMapping withMapping(ObjectToLong op)

 
Methods inherited from class ParallelArrayWithFilter
allNonidenticalElements, allUniqueElements, hasAllEqualElements, hasAllIdenticalElements, leafTransfer, leafTransferByIndex, oget, replaceWithGeneratedValue, replaceWithMappedIndex, replaceWithMappedIndex, replaceWithMapping, replaceWithMapping, replaceWithMapping, replaceWithValue, withFilter, withFilter, withIndexedFilter
 
Methods inherited from class ParallelArrayWithMapping
all, all, any, apply, max, max, min, min, reduce, sequentially, summary, summary, withIndexedMapping, withIndexedMapping, withIndexedMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping
 

Field Detail

selector

final IntAndObjectPredicate selector


 
Constructor Detail

AbstractParallelAnyArray.ORPap

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


 
Method Detail

hasFilter

boolean hasFilter()


isSelected

boolean isSelected(int i)


leafApply

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


leafBinaryIndexMap

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


leafCombineInPlace

final void leafCombineInPlace(int l, int h, java.lang.Object[] other, int otherOffset, BinaryOp combiner)


leafCombineInPlace

final void leafCombineInPlace(int l, int h, ParallelArrayWithMapping other, int otherOffset, BinaryOp combiner)


leafFill

final void leafFill(int l, int h, java.lang.Object value)


leafGenerate

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


leafIndexMap

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


leafReduce

java.lang.Object leafReduce(int lo, int hi, Reducer reducer, java.lang.Object base)


leafTransform

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


withFilter

public ParallelArrayWithFilter withFilter(Predicate selector)


withIndexedFilter

public ParallelArrayWithFilter withIndexedFilter(IntAndObjectPredicate selector)


withIndexedMapping

public ParallelArrayWithMapping withIndexedMapping(IntAndObjectToObject mapper)


withIndexedMapping

public ParallelArrayWithDoubleMapping withIndexedMapping(IntAndObjectToDouble mapper)


withIndexedMapping

public ParallelArrayWithLongMapping withIndexedMapping(IntAndObjectToLong mapper)


withMapping

public ParallelArrayWithMapping withMapping(Op op)


withMapping

public ParallelArrayWithDoubleMapping withMapping(ObjectToDouble op)


withMapping

public ParallelArrayWithLongMapping withMapping(ObjectToLong op)


 

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