|
||||||||||
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.ParallelLongArrayWithMapping<U>
groovyx.gpars.extra166y.AbstractParallelAnyArray.LOCPap<U>
groovyx.gpars.extra166y.AbstractParallelAnyArray.LROCPap<U>
static final class AbstractParallelAnyArray.LROCPap<U>
Nested Class Summary |
---|
Field Summary | |
---|---|
(package private) Ops.IntAndLongPredicate |
selector
|
Fields inherited from class groovyx.gpars.extra166y.AbstractParallelAnyArray.LOCPap |
---|
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.LROCPap(jsr166y.ForkJoinPool ex,
int origin,
int fence,
long[] array,
Ops.IntAndLongPredicate selector,
Ops.IntAndLongToObject<? extends U> op)
|
Method Summary | ||
---|---|---|
(package private) boolean |
hasFilter()
|
|
(package private) boolean |
isSelected(int i)
|
|
(package private) void |
leafApply(int lo,
int hi,
Ops.Procedure procedure)
|
|
(package private) java.lang.Object |
leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
|
ParallelLongArrayWithDoubleMapping |
withIndexedMapping(Ops.IntAndObjectToDouble<? super U> 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.IntAndObjectToLong<? super U> 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.IntAndObjectToObject<? super U,? 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.ObjectToDouble<? super U> op)
Returns an operation prefix that causes a method to operate on mapped elements of the array using the given op applied to current op's results. |
|
ParallelLongArrayWithLongMapping |
withMapping(Ops.ObjectToLong<? super U> op)
Returns an operation prefix that causes a method to operate on mapped elements of the array using the given op applied to current op's results. |
|
|
withMapping(Ops.Op<? super U,? extends V> op)
Returns an operation prefix that causes a method to operate on mapped elements of the array using the given op applied to current op's results. |
Methods inherited from class groovyx.gpars.extra166y.AbstractParallelAnyArray.LOCPap |
---|
dget, hasMap, leafTransfer, leafTransferByIndex, lget, oget |
Methods inherited from class groovyx.gpars.extra166y.ParallelLongArrayWithMapping |
---|
all, all, any, apply, max, max, min, min, reduce, sequentially, 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 |
Field Detail |
---|
final Ops.IntAndLongPredicate selector
Constructor Detail |
---|
AbstractParallelAnyArray.LROCPap(jsr166y.ForkJoinPool ex, int origin, int fence, long[] array, Ops.IntAndLongPredicate selector, Ops.IntAndLongToObject<? extends U> op)
Method Detail |
---|
boolean hasFilter()
hasFilter
in class AbstractParallelAnyArray
boolean isSelected(int i)
isSelected
in class AbstractParallelAnyArray
public <V> ParallelLongArrayWithMapping<V> withMapping(Ops.Op<? super U,? extends V> op)
ParallelLongArrayWithMapping
withMapping
in class ParallelLongArrayWithMapping<U>
op
- the op
public ParallelLongArrayWithDoubleMapping withMapping(Ops.ObjectToDouble<? super U> op)
ParallelLongArrayWithMapping
withMapping
in class ParallelLongArrayWithMapping<U>
op
- the op
public ParallelLongArrayWithLongMapping withMapping(Ops.ObjectToLong<? super U> op)
ParallelLongArrayWithMapping
withMapping
in class ParallelLongArrayWithMapping<U>
op
- the op
public <V> ParallelLongArrayWithMapping<V> withIndexedMapping(Ops.IntAndObjectToObject<? super U,? extends V> mapper)
ParallelLongArrayWithMapping
withIndexedMapping
in class ParallelLongArrayWithMapping<U>
mapper
- the mapper
public ParallelLongArrayWithDoubleMapping withIndexedMapping(Ops.IntAndObjectToDouble<? super U> mapper)
ParallelLongArrayWithMapping
withIndexedMapping
in class ParallelLongArrayWithMapping<U>
mapper
- the mapper
public ParallelLongArrayWithLongMapping withIndexedMapping(Ops.IntAndObjectToLong<? super U> mapper)
ParallelLongArrayWithMapping
withIndexedMapping
in class ParallelLongArrayWithMapping<U>
mapper
- the mapper
void leafApply(int lo, int hi, Ops.Procedure procedure)
leafApply
in class AbstractParallelAnyArray
java.lang.Object leafReduce(int lo, int hi, Ops.Reducer reducer, java.lang.Object 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 |