|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovyx.gpars.extra166y.AbstractParallelAnyArray
groovyx.gpars.extra166y.AbstractParallelAnyArray.LPap
groovyx.gpars.extra166y.ParallelLongArrayWithDoubleMapping
groovyx.gpars.extra166y.AbstractParallelAnyArray.LDMPap
groovyx.gpars.extra166y.AbstractParallelAnyArray.LUDMPap
static final class AbstractParallelAnyArray.LUDMPap
Nested Class Summary |
---|
Field Summary |
---|
Fields inherited from class groovyx.gpars.extra166y.AbstractParallelAnyArray.LDMPap |
---|
op |
Fields inherited from class groovyx.gpars.extra166y.AbstractParallelAnyArray.LPap |
---|
array |
Fields inherited from class groovyx.gpars.extra166y.AbstractParallelAnyArray |
---|
ex, fence, origin, threshold |
Constructor Summary | |
---|---|
AbstractParallelAnyArray.LUDMPap(jsr166y.ForkJoinPool ex,
int origin,
int fence,
long[] array,
Ops.LongToDouble op)
|
Method Summary | ||
---|---|---|
(package private) void |
leafApply(int lo,
int hi,
Ops.DoubleProcedure procedure)
|
|
(package private) double |
leafReduce(int lo,
int hi,
Ops.DoubleReducer reducer,
double base)
|
|
ParallelLongArrayWithDoubleMapping |
withIndexedMapping(Ops.IntAndDoubleToDouble mapper)
Returns an operation prefix that causes a method to operate on mappings of this array using the given mapper that accepts as arguments an element's current index and value (as mapped by preceding mappings, if any), and produces a new value. |
|
ParallelLongArrayWithLongMapping |
withIndexedMapping(Ops.IntAndDoubleToLong mapper)
Returns an operation prefix that causes a method to operate on mappings of this array using the given mapper that accepts as arguments an element's current index and value (as mapped by preceding mappings, if any), and produces a new value. |
|
|
withIndexedMapping(Ops.IntAndDoubleToObject<? extends V> mapper)
Returns an operation prefix that causes a method to operate on mappings of this array using the given mapper that accepts as arguments an element's current index and value (as mapped by preceding mappings, if any), and produces a new value. |
|
ParallelLongArrayWithDoubleMapping |
withMapping(Ops.DoubleOp op)
Returns an operation prefix that causes a method to operate on mapped elements of the array using the given op. |
|
ParallelLongArrayWithLongMapping |
withMapping(Ops.DoubleToLong op)
Returns an operation prefix that causes a method to operate on mapped elements of the array using the given op. |
|
|
withMapping(Ops.DoubleToObject<? extends U> op)
Returns an operation prefix that causes a method to operate on mapped elements of the array using the given op. |
Methods inherited from class groovyx.gpars.extra166y.AbstractParallelAnyArray.LDMPap |
---|
dget, hasMap, leafTransfer, leafTransferByIndex, lget, oget |
Methods inherited from class groovyx.gpars.extra166y.ParallelLongArrayWithDoubleMapping |
---|
all, apply, max, max, min, min, reduce, sequentially, sum, summary, summary, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping, withMapping |
Methods inherited from class groovyx.gpars.extra166y.AbstractParallelAnyArray.LPap |
---|
leafMoveByIndex, leafMoveSelected, lgetArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
AbstractParallelAnyArray.LUDMPap(jsr166y.ForkJoinPool ex, int origin, int fence, long[] array, Ops.LongToDouble op)
Method Detail |
---|
public ParallelLongArrayWithLongMapping withMapping(Ops.DoubleToLong op)
ParallelLongArrayWithDoubleMapping
withMapping
in class ParallelLongArrayWithDoubleMapping
op
- the op
public ParallelLongArrayWithDoubleMapping withMapping(Ops.DoubleOp op)
ParallelLongArrayWithDoubleMapping
withMapping
in class ParallelLongArrayWithDoubleMapping
op
- the op
public <U> ParallelLongArrayWithMapping<U> withMapping(Ops.DoubleToObject<? extends U> op)
ParallelLongArrayWithDoubleMapping
withMapping
in class ParallelLongArrayWithDoubleMapping
op
- the op
public <V> ParallelLongArrayWithMapping<V> withIndexedMapping(Ops.IntAndDoubleToObject<? extends V> mapper)
ParallelLongArrayWithDoubleMapping
withIndexedMapping
in class ParallelLongArrayWithDoubleMapping
mapper
- the mapper
public ParallelLongArrayWithDoubleMapping withIndexedMapping(Ops.IntAndDoubleToDouble mapper)
ParallelLongArrayWithDoubleMapping
withIndexedMapping
in class ParallelLongArrayWithDoubleMapping
mapper
- the mapper
public ParallelLongArrayWithLongMapping withIndexedMapping(Ops.IntAndDoubleToLong mapper)
ParallelLongArrayWithDoubleMapping
withIndexedMapping
in class ParallelLongArrayWithDoubleMapping
mapper
- the mapper
void leafApply(int lo, int hi, Ops.DoubleProcedure procedure)
leafApply
in class AbstractParallelAnyArray
double leafReduce(int lo, int hi, Ops.DoubleReducer reducer, double base)
leafReduce
in class AbstractParallelAnyArray
|
Copyright © 2008–2013 Václav Pech. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |