|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Ops.Reducer | |
---|---|
groovyx.gpars.extra166y | Collections supporting parallel operations. |
groovyx.gpars.pa |
Uses of Ops.Reducer in groovyx.gpars.extra166y |
---|
Classes in groovyx.gpars.extra166y that implement Ops.Reducer | |
---|---|
(package private) static class |
CommonOps.RawMaxReducer
|
(package private) static class |
CommonOps.RawMinReducer
|
Fields in groovyx.gpars.extra166y declared as Ops.Reducer | |
---|---|
(package private) Ops.Reducer |
PAS.FJOReduce.reducer
|
(package private) Ops.Reducer |
PAS.FJOScanOp.reducer
|
Methods in groovyx.gpars.extra166y that return Ops.Reducer | ||
---|---|---|
static Ops.Reducer<java.lang.Object> |
CommonOps.castedMaxReducer()
Returns a reducer returning maximum of two values, or null if both arguments are null, and that casts its arguments as Comparable on each comparison, throwing ClassCastException on failure. |
|
static Ops.Reducer<java.lang.Object> |
CommonOps.castedMinReducer()
Returns a reducer returning minimum of two values, or null if both arguments are null, and that casts its arguments as Comparable on each comparison, throwing ClassCastException on failure. |
|
static
|
CommonOps.maxReducer(java.util.Comparator<? super T> comparator)
Returns a reducer returning the maximum of two elements, using the given comparator, and treating null as less than any non-null element. |
|
static
|
CommonOps.minReducer(java.util.Comparator<? super T> comparator)
Returns a reducer returning the minimum of two elements, using the given comparator, and treating null as greater than any non-null element. |
|
static
|
CommonOps.naturalMaxReducer(java.lang.Class<T> type)
Returns a reducer returning the maximum of two Comparable elements, treating null as less than any non-null element. |
|
static
|
CommonOps.naturalMinReducer(java.lang.Class<T> type)
Returns a reducer returning the minimum of two Comparable elements, treating null as greater than any non-null element. |
Methods in groovyx.gpars.extra166y with parameters of type Ops.Reducer | |
---|---|
ParallelArrayWithBounds<T> |
AbstractParallelAnyArray.OUPap.cumulate(Ops.Reducer<T> reducer,
T base)
|
ParallelArray<T> |
ParallelArray.cumulate(Ops.Reducer<T> reducer,
T base)
Replaces each element with the running cumulation of applying the given reducer. |
abstract ParallelArrayWithBounds<T> |
ParallelArrayWithBounds.cumulate(Ops.Reducer<T> reducer,
T base)
Replaces each element with the running cumulation of applying the given reducer. |
(package private) java.lang.Object |
AbstractParallelAnyArray.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.OUPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.OFPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.ORPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.OUOMPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.DUOMPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.LUOMPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.OFOMPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.DFOMPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.LFOMPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.OROMPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.DROMPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.LROMPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.OUOCPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.DUOCPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.LUOCPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.OFOCPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.DFOCPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.LFOCPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.OROCPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.DROCPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
(package private) java.lang.Object |
AbstractParallelAnyArray.LROCPap.leafReduce(int lo,
int hi,
Ops.Reducer reducer,
java.lang.Object base)
|
T |
AbstractParallelAnyArray.OUPap.precumulate(Ops.Reducer<T> reducer,
T base)
|
T |
ParallelArray.precumulate(Ops.Reducer<T> reducer,
T base)
Replaces each element with the cumulation of applying the given reducer to all previous values, and returns the total reduction. |
abstract T |
ParallelArrayWithBounds.precumulate(Ops.Reducer<T> reducer,
T base)
Replaces each element with the cumulation of applying the given reducer to all previous values, and returns the total reduction. |
T |
ParallelArray.reduce(Ops.Reducer<T> reducer,
T base)
Returns reduction of elements |
U |
ParallelArrayWithMapping.reduce(Ops.Reducer<U> reducer,
U base)
Returns reduction of elements |
U |
ParallelDoubleArrayWithMapping.reduce(Ops.Reducer<U> reducer,
U base)
Returns reduction of mapped elements |
U |
ParallelLongArrayWithMapping.reduce(Ops.Reducer<U> reducer,
U base)
Returns reduction of mapped elements |
Constructors in groovyx.gpars.extra166y with parameters of type Ops.Reducer | |
---|---|
PAS.FJOCumulateOp(AbstractParallelAnyArray.OPap pap,
Ops.Reducer reducer,
java.lang.Object base)
|
|
PAS.FJOPrecumulateOp(AbstractParallelAnyArray.OPap pap,
Ops.Reducer reducer,
java.lang.Object base)
|
|
PAS.FJOReduce(AbstractParallelAnyArray pap,
int lo,
int hi,
PAS.FJBase next,
Ops.Reducer reducer,
java.lang.Object base)
|
|
PAS.FJOScanOp(AbstractParallelAnyArray.OPap pap,
Ops.Reducer reducer,
java.lang.Object base)
|
Uses of Ops.Reducer in groovyx.gpars.pa |
---|
Classes in groovyx.gpars.pa that implement Ops.Reducer | |
---|---|
class |
ClosureReducer<T>
A PA reducer built around a closure |
|
Copyright © 2008–2012 Václav Pech. All Rights Reserved. | |||||||||
PREV NEXT | FRAMES NO FRAMES |