|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgroovyx.gpars.extra166y.AbstractParallelAnyArray
groovyx.gpars.extra166y.AbstractParallelAnyArray.LPap
groovyx.gpars.extra166y.ParallelLongArrayWithLongMapping
groovyx.gpars.extra166y.ParallelLongArrayWithFilter
groovyx.gpars.extra166y.AbstractParallelAnyArray.LRPap
static final class AbstractParallelAnyArray.LRPap
| Nested Class Summary |
|---|
| Field Summary | |
|---|---|
(package private) Ops.IntAndLongPredicate |
selector
|
| 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.LRPap(jsr166y.ForkJoinPool ex,
int origin,
int fence,
long[] array,
Ops.IntAndLongPredicate selector)
|
|
| Method Summary | ||
|---|---|---|
(package private) boolean |
hasFilter()
|
|
(package private) boolean |
isSelected(int i)
|
|
(package private) void |
leafApply(int lo,
int hi,
Ops.LongProcedure procedure)
|
|
(package private) void |
leafBinaryIndexMap(int l,
int h,
Ops.IntAndLongToLong op)
|
|
(package private) void |
leafCombineInPlace(int l,
int h,
long[] other,
int otherOffset,
Ops.BinaryLongOp combiner)
|
|
(package private) void |
leafCombineInPlace(int l,
int h,
ParallelLongArrayWithLongMapping other,
int otherOffset,
Ops.BinaryLongOp combiner)
|
|
(package private) void |
leafFill(int l,
int h,
long value)
|
|
(package private) void |
leafGenerate(int l,
int h,
Ops.LongGenerator generator)
|
|
(package private) void |
leafIndexMap(int l,
int h,
Ops.IntToLong op)
|
|
(package private) long |
leafReduce(int lo,
int hi,
Ops.LongReducer reducer,
long base)
|
|
(package private) void |
leafTransform(int l,
int h,
Ops.LongOp op)
|
|
ParallelLongArrayWithFilter |
withFilter(Ops.LongPredicate 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. |
|
ParallelLongArrayWithFilter |
withIndexedFilter(Ops.IntAndLongPredicate 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. |
|
ParallelLongArrayWithDoubleMapping |
withIndexedMapping(Ops.IntAndLongToDouble 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.IntAndLongToLong 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.IntAndLongToObject<? 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. |
|
ParallelLongArrayWithLongMapping |
withMapping(Ops.LongOp op)
Returns an operation prefix that causes a method to operate on mapped elements of the array using the given op. |
|
ParallelLongArrayWithDoubleMapping |
withMapping(Ops.LongToDouble op)
Returns an operation prefix that causes a method to operate on mapped elements of the array using the given op. |
|
|
withMapping(Ops.LongToObject<? 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.ParallelLongArrayWithFilter |
|---|
allUniqueElements, hasAllEqualElements, leafTransfer, leafTransferByIndex, lget, replaceWithGeneratedValue, replaceWithMappedIndex, replaceWithMappedIndex, replaceWithMapping, replaceWithMapping, replaceWithMapping, replaceWithValue, withFilter |
| Methods inherited from class groovyx.gpars.extra166y.ParallelLongArrayWithLongMapping |
|---|
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 |
|---|
dget, leafMoveByIndex, leafMoveSelected, lgetArray, oget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final Ops.IntAndLongPredicate selector
| Constructor Detail |
|---|
AbstractParallelAnyArray.LRPap(jsr166y.ForkJoinPool ex,
int origin,
int fence,
long[] array,
Ops.IntAndLongPredicate selector)
| Method Detail |
|---|
boolean hasFilter()
hasFilter in class AbstractParallelAnyArrayboolean isSelected(int i)
isSelected in class AbstractParallelAnyArraypublic ParallelLongArrayWithFilter withFilter(Ops.LongPredicate selector)
ParallelLongArrayWithFilter
withFilter in class ParallelLongArrayWithFilterselector - the selector
public ParallelLongArrayWithFilter withIndexedFilter(Ops.IntAndLongPredicate selector)
ParallelLongArrayWithFilter
withIndexedFilter in class ParallelLongArrayWithFilterselector - the selector
public <U> ParallelLongArrayWithMapping<U> withMapping(Ops.LongToObject<? extends U> op)
ParallelLongArrayWithLongMapping
withMapping in class ParallelLongArrayWithLongMappingop - the op
public ParallelLongArrayWithLongMapping withMapping(Ops.LongOp op)
ParallelLongArrayWithLongMapping
withMapping in class ParallelLongArrayWithLongMappingop - the op
public ParallelLongArrayWithDoubleMapping withMapping(Ops.LongToDouble op)
ParallelLongArrayWithLongMapping
withMapping in class ParallelLongArrayWithLongMappingop - the op
public <V> ParallelLongArrayWithMapping<V> withIndexedMapping(Ops.IntAndLongToObject<? extends V> mapper)
ParallelLongArrayWithLongMapping
withIndexedMapping in class ParallelLongArrayWithLongMappingmapper - the mapper
public ParallelLongArrayWithDoubleMapping withIndexedMapping(Ops.IntAndLongToDouble mapper)
ParallelLongArrayWithLongMapping
withIndexedMapping in class ParallelLongArrayWithLongMappingmapper - the mapper
public ParallelLongArrayWithLongMapping withIndexedMapping(Ops.IntAndLongToLong mapper)
ParallelLongArrayWithLongMapping
withIndexedMapping in class ParallelLongArrayWithLongMappingmapper - the mapper
final void leafApply(int lo,
int hi,
Ops.LongProcedure procedure)
leafApply in class AbstractParallelAnyArray
final long leafReduce(int lo,
int hi,
Ops.LongReducer reducer,
long base)
leafReduce in class AbstractParallelAnyArray
final void leafTransform(int l,
int h,
Ops.LongOp op)
leafTransform in class AbstractParallelAnyArray
final void leafIndexMap(int l,
int h,
Ops.IntToLong op)
leafIndexMap in class AbstractParallelAnyArray
final void leafBinaryIndexMap(int l,
int h,
Ops.IntAndLongToLong op)
leafBinaryIndexMap in class AbstractParallelAnyArray
final void leafGenerate(int l,
int h,
Ops.LongGenerator generator)
leafGenerate in class AbstractParallelAnyArray
final void leafFill(int l,
int h,
long value)
leafFill in class AbstractParallelAnyArray
final void leafCombineInPlace(int l,
int h,
long[] other,
int otherOffset,
Ops.BinaryLongOp combiner)
leafCombineInPlace in class AbstractParallelAnyArray
final void leafCombineInPlace(int l,
int h,
ParallelLongArrayWithLongMapping other,
int otherOffset,
Ops.BinaryLongOp 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 | |||||||||