org.codehaus.gpars

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

java.lang.Object
  groovyx.gpars.extra166y.AbstractParallelAnyArray.OPap
      groovyx.gpars.extra166y.ParallelArrayWithMapping
          groovyx.gpars.extra166y.ParallelArrayWithFilter
              groovyx.gpars.extra166y.ParallelArrayWithBounds
                  groovyx.gpars.extra166y.AbstractParallelAnyArray.OUPap

static class AbstractParallelAnyArray.OUPap
extends ParallelArrayWithBounds

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

 
Method Summary
int binarySearch(java.lang.Object target)

int binarySearch(java.lang.Object target, java.util.Comparator comparator)

ParallelArrayWithBounds cumulate(Reducer reducer, java.lang.Object base)

int indexOf(java.lang.Object target)

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)

java.lang.Object precumulate(Reducer reducer, java.lang.Object base)

ParallelArrayWithBounds sort(java.util.Comparator cmp)

ParallelArrayWithBounds sort()

ParallelArrayWithBounds withBounds(int lo, int hi)

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 ParallelArrayWithBounds
binarySearch, binarySearch, cumulate, indexOf, precumulate, sort, sort, withBounds
 
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
 

Constructor Detail

AbstractParallelAnyArray.OUPap

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


 
Method Detail

binarySearch

public int binarySearch(java.lang.Object target)


binarySearch

public int binarySearch(java.lang.Object target, java.util.Comparator comparator)


cumulate

public ParallelArrayWithBounds cumulate(Reducer reducer, java.lang.Object base)


indexOf

public int indexOf(java.lang.Object target)


leafApply

final 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

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


leafTransform

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


precumulate

public java.lang.Object precumulate(Reducer reducer, java.lang.Object base)


sort

public ParallelArrayWithBounds sort(java.util.Comparator cmp)


sort

public ParallelArrayWithBounds sort()


withBounds

public ParallelArrayWithBounds withBounds(int lo, int hi)


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.