org.codehaus.gpars

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

java.lang.Object
  groovyx.gpars.extra166y.AbstractParallelAnyArray.LPap
      groovyx.gpars.extra166y.ParallelLongArrayWithLongMapping
          groovyx.gpars.extra166y.ParallelLongArrayWithFilter
              groovyx.gpars.extra166y.ParallelLongArrayWithBounds
                  groovyx.gpars.extra166y.AbstractParallelAnyArray.LUPap

static class AbstractParallelAnyArray.LUPap
extends ParallelLongArrayWithBounds

Constructor Summary
AbstractParallelAnyArray.LUPap(ForkJoinPool ex, int origin, int fence, long[] array)

 
Method Summary
int binarySearch(long target)

int binarySearch(long target, LongComparator comparator)

ParallelLongArrayWithBounds cumulate(LongReducer reducer, long base)

ParallelLongArrayWithBounds cumulateSum()

int indexOf(long target)

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

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

void leafCombineInPlace(int l, int h, long[] other, int otherOffset, BinaryLongOp combiner)

void leafCombineInPlace(int l, int h, ParallelLongArrayWithLongMapping other, int otherOffset, BinaryLongOp combiner)

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

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

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

long leafReduce(int lo, int hi, LongReducer reducer, long base)

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

long precumulate(LongReducer reducer, long base)

long precumulateSum()

ParallelLongArrayWithBounds sort(LongComparator cmp)

ParallelLongArrayWithBounds sort()

ParallelLongArrayWithBounds withBounds(int lo, int hi)

ParallelLongArrayWithFilter withFilter(LongPredicate selector)

ParallelLongArrayWithFilter withIndexedFilter(IntAndLongPredicate selector)

ParallelLongArrayWithMapping withIndexedMapping(IntAndLongToObject mapper)

ParallelLongArrayWithDoubleMapping withIndexedMapping(IntAndLongToDouble mapper)

ParallelLongArrayWithLongMapping withIndexedMapping(IntAndLongToLong mapper)

ParallelLongArrayWithMapping withMapping(LongToObject op)

ParallelLongArrayWithLongMapping withMapping(LongOp op)

ParallelLongArrayWithDoubleMapping withMapping(LongToDouble op)

 
Methods inherited from class ParallelLongArrayWithBounds
binarySearch, binarySearch, cumulate, cumulateSum, indexOf, precumulate, precumulateSum, sort, sort, withBounds
 
Methods inherited from class ParallelLongArrayWithFilter
allUniqueElements, hasAllEqualElements, leafTransfer, leafTransferByIndex, lget, replaceWithGeneratedValue, replaceWithMappedIndex, replaceWithMappedIndex, replaceWithMapping, replaceWithMapping, replaceWithMapping, replaceWithValue, withFilter, withFilter, withIndexedFilter
 
Methods inherited from class ParallelLongArrayWithLongMapping
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.LUPap

AbstractParallelAnyArray.LUPap(ForkJoinPool ex, int origin, int fence, long[] array)


 
Method Detail

binarySearch

public int binarySearch(long target)


binarySearch

public int binarySearch(long target, LongComparator comparator)


cumulate

public ParallelLongArrayWithBounds cumulate(LongReducer reducer, long base)


cumulateSum

public ParallelLongArrayWithBounds cumulateSum()


indexOf

public int indexOf(long target)


leafApply

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


leafBinaryIndexMap

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


leafCombineInPlace

final void leafCombineInPlace(int l, int h, long[] other, int otherOffset, BinaryLongOp combiner)


leafCombineInPlace

final void leafCombineInPlace(int l, int h, ParallelLongArrayWithLongMapping other, int otherOffset, BinaryLongOp combiner)


leafFill

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


leafGenerate

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


leafIndexMap

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


leafReduce

final long leafReduce(int lo, int hi, LongReducer reducer, long base)


leafTransform

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


precumulate

public long precumulate(LongReducer reducer, long base)


precumulateSum

public long precumulateSum()


sort

public ParallelLongArrayWithBounds sort(LongComparator cmp)


sort

public ParallelLongArrayWithBounds sort()


withBounds

public ParallelLongArrayWithBounds withBounds(int lo, int hi)


withFilter

public ParallelLongArrayWithFilter withFilter(LongPredicate selector)


withIndexedFilter

public ParallelLongArrayWithFilter withIndexedFilter(IntAndLongPredicate selector)


withIndexedMapping

public ParallelLongArrayWithMapping withIndexedMapping(IntAndLongToObject mapper)


withIndexedMapping

public ParallelLongArrayWithDoubleMapping withIndexedMapping(IntAndLongToDouble mapper)


withIndexedMapping

public ParallelLongArrayWithLongMapping withIndexedMapping(IntAndLongToLong mapper)


withMapping

public ParallelLongArrayWithMapping withMapping(LongToObject op)


withMapping

public ParallelLongArrayWithLongMapping withMapping(LongOp op)


withMapping

public ParallelLongArrayWithDoubleMapping withMapping(LongToDouble op)


 

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