|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovyx.gpars.extra166y.AbstractParallelAnyArray groovyx.gpars.extra166y.AbstractParallelAnyArray.DPap groovyx.gpars.extra166y.ParallelDoubleArrayWithDoubleMapping groovyx.gpars.extra166y.ParallelDoubleArrayWithFilter groovyx.gpars.extra166y.AbstractParallelAnyArray.DFPap
static final class AbstractParallelAnyArray.DFPap
Nested Class Summary |
---|
Field Summary | |
---|---|
(package private) Ops.DoublePredicate |
selector
|
Fields inherited from class groovyx.gpars.extra166y.AbstractParallelAnyArray.DPap |
---|
array |
Fields inherited from class groovyx.gpars.extra166y.AbstractParallelAnyArray |
---|
ex, fence, origin, threshold |
Constructor Summary | |
---|---|
AbstractParallelAnyArray.DFPap(jsr166y.ForkJoinPool ex,
int origin,
int fence,
double[] array,
Ops.DoublePredicate selector)
|
Method Summary | ||
---|---|---|
(package private) boolean |
hasFilter()
|
|
(package private) boolean |
isSelected(int i)
|
|
(package private) void |
leafApply(int lo,
int hi,
Ops.DoubleProcedure procedure)
|
|
(package private) void |
leafBinaryIndexMap(int l,
int h,
Ops.IntAndDoubleToDouble op)
|
|
(package private) void |
leafCombineInPlace(int l,
int h,
double[] other,
int otherOffset,
Ops.BinaryDoubleOp combiner)
|
|
(package private) void |
leafCombineInPlace(int l,
int h,
ParallelDoubleArrayWithDoubleMapping other,
int otherOffset,
Ops.BinaryDoubleOp combiner)
|
|
(package private) void |
leafFill(int l,
int h,
double value)
|
|
(package private) void |
leafGenerate(int l,
int h,
Ops.DoubleGenerator generator)
|
|
(package private) void |
leafIndexMap(int l,
int h,
Ops.IntToDouble op)
|
|
(package private) double |
leafReduce(int lo,
int hi,
Ops.DoubleReducer reducer,
double base)
|
|
(package private) void |
leafTransform(int l,
int h,
Ops.DoubleOp op)
|
|
ParallelDoubleArrayWithFilter |
withFilter(Ops.DoublePredicate selector)
Returns an operation prefix that causes a method to operate only on elements for which the current selector (if present) and the given selector returns true |
|
ParallelDoubleArrayWithFilter |
withIndexedFilter(Ops.IntAndDoublePredicate selector)
Returns an operation prefix that causes a method to operate only on elements for which the current selector (if present) and the given indexed selector returns true |
|
ParallelDoubleArrayWithDoubleMapping |
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. |
|
ParallelDoubleArrayWithLongMapping |
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. |
|
ParallelDoubleArrayWithDoubleMapping |
withMapping(Ops.DoubleOp op)
Returns an operation prefix that causes a method to operate on mapped elements of the array using the given op. |
|
ParallelDoubleArrayWithLongMapping |
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.ParallelDoubleArrayWithFilter |
---|
allUniqueElements, dget, hasAllEqualElements, leafTransfer, leafTransferByIndex, replaceWithGeneratedValue, replaceWithMappedIndex, replaceWithMappedIndex, replaceWithMapping, replaceWithMapping, replaceWithMapping, replaceWithValue, withFilter |
Methods inherited from class groovyx.gpars.extra166y.ParallelDoubleArrayWithDoubleMapping |
---|
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.DPap |
---|
dgetArray, leafMoveByIndex, leafMoveSelected, lget, oget |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final Ops.DoublePredicate selector
Constructor Detail |
---|
AbstractParallelAnyArray.DFPap(jsr166y.ForkJoinPool ex, int origin, int fence, double[] array, Ops.DoublePredicate selector)
Method Detail |
---|
boolean hasFilter()
hasFilter
in class AbstractParallelAnyArray
boolean isSelected(int i)
isSelected
in class AbstractParallelAnyArray
public ParallelDoubleArrayWithFilter withFilter(Ops.DoublePredicate selector)
ParallelDoubleArrayWithFilter
withFilter
in class ParallelDoubleArrayWithFilter
selector
- the selector
public ParallelDoubleArrayWithFilter withIndexedFilter(Ops.IntAndDoublePredicate selector)
ParallelDoubleArrayWithFilter
withIndexedFilter
in class ParallelDoubleArrayWithFilter
selector
- the selector
public <U> ParallelDoubleArrayWithMapping<U> withMapping(Ops.DoubleToObject<? extends U> op)
ParallelDoubleArrayWithDoubleMapping
withMapping
in class ParallelDoubleArrayWithDoubleMapping
op
- the op
public ParallelDoubleArrayWithDoubleMapping withMapping(Ops.DoubleOp op)
ParallelDoubleArrayWithDoubleMapping
withMapping
in class ParallelDoubleArrayWithDoubleMapping
op
- the op
public ParallelDoubleArrayWithLongMapping withMapping(Ops.DoubleToLong op)
ParallelDoubleArrayWithDoubleMapping
withMapping
in class ParallelDoubleArrayWithDoubleMapping
op
- the op
public <V> ParallelDoubleArrayWithMapping<V> withIndexedMapping(Ops.IntAndDoubleToObject<? extends V> mapper)
ParallelDoubleArrayWithDoubleMapping
withIndexedMapping
in class ParallelDoubleArrayWithDoubleMapping
mapper
- the mapper
public ParallelDoubleArrayWithDoubleMapping withIndexedMapping(Ops.IntAndDoubleToDouble mapper)
ParallelDoubleArrayWithDoubleMapping
withIndexedMapping
in class ParallelDoubleArrayWithDoubleMapping
mapper
- the mapper
public ParallelDoubleArrayWithLongMapping withIndexedMapping(Ops.IntAndDoubleToLong mapper)
ParallelDoubleArrayWithDoubleMapping
withIndexedMapping
in class ParallelDoubleArrayWithDoubleMapping
mapper
- the mapper
final void leafApply(int lo, int hi, Ops.DoubleProcedure procedure)
leafApply
in class AbstractParallelAnyArray
final double leafReduce(int lo, int hi, Ops.DoubleReducer reducer, double base)
leafReduce
in class AbstractParallelAnyArray
final void leafTransform(int l, int h, Ops.DoubleOp op)
leafTransform
in class AbstractParallelAnyArray
final void leafIndexMap(int l, int h, Ops.IntToDouble op)
leafIndexMap
in class AbstractParallelAnyArray
final void leafBinaryIndexMap(int l, int h, Ops.IntAndDoubleToDouble op)
leafBinaryIndexMap
in class AbstractParallelAnyArray
final void leafGenerate(int l, int h, Ops.DoubleGenerator generator)
leafGenerate
in class AbstractParallelAnyArray
final void leafFill(int l, int h, double value)
leafFill
in class AbstractParallelAnyArray
final void leafCombineInPlace(int l, int h, double[] other, int otherOffset, Ops.BinaryDoubleOp combiner)
leafCombineInPlace
in class AbstractParallelAnyArray
final void leafCombineInPlace(int l, int h, ParallelDoubleArrayWithDoubleMapping other, int otherOffset, Ops.BinaryDoubleOp combiner)
leafCombineInPlace
in class AbstractParallelAnyArray
|
Copyright © 2008–2012 Václav Pech. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |