Package | Description |
---|---|
groovyx.gpars.extra166y |
Collections supporting parallel operations.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CommonOps.NaturalDoubleComparator |
Modifier and Type | Field and Description |
---|---|
(package private) Ops.DoubleComparator |
PAS.FJDSorter.cmp |
(package private) Ops.DoubleComparator |
PAS.FJDMerger.cmp |
(package private) Ops.DoubleComparator |
PAS.FJDStats.comparator |
Modifier and Type | Method and Description |
---|---|
static Ops.DoubleComparator |
CommonOps.naturalDoubleComparator()
Returns a comparator for doubles relying on natural ordering.
|
Modifier and Type | Method and Description |
---|---|
int |
AbstractParallelAnyArray.DUPap.binarySearch(double target,
Ops.DoubleComparator comparator) |
int |
ParallelDoubleArray.binarySearch(double target,
Ops.DoubleComparator comparator)
Assuming this array is sorted with respect to the given
comparator, returns the index of an element equal to given
target, or -1 if not present.
|
abstract int |
ParallelDoubleArrayWithBounds.binarySearch(double target,
Ops.DoubleComparator comparator)
Assuming this array is sorted with respect to the given
comparator, returns the index of an element equal to given
target, or -1 if not present.
|
static Ops.DoubleReducer |
CommonOps.doubleMaxReducer(Ops.DoubleComparator comparator)
Returns a reducer returning the maximum of two double elements,
using the given comparator.
|
static Ops.DoubleReducer |
CommonOps.doubleMinReducer(Ops.DoubleComparator comparator)
Returns a reducer returning the minimum of two double elements,
using the given comparator.
|
(package private) static void |
PAS.dquickSort(double[] a,
Ops.DoubleComparator cmp,
int lo,
int hi) |
double |
ParallelArrayWithDoubleMapping.max(Ops.DoubleComparator comparator)
Returns the maximum element, or -Double.MAX_VALUE if empty.
|
double |
ParallelDoubleArray.max(Ops.DoubleComparator comparator)
Returns the maximum element, or -Double.MAX_VALUE if empty.
|
double |
ParallelDoubleArrayWithDoubleMapping.max(Ops.DoubleComparator comparator)
Returns the maximum element, or -Double.MAX_VALUE if empty.
|
double |
ParallelLongArrayWithDoubleMapping.max(Ops.DoubleComparator comparator)
Returns the maximum element, or -Double.MAX_VALUE if empty.
|
double |
ParallelArrayWithDoubleMapping.min(Ops.DoubleComparator comparator)
Returns the minimum element, or Double.MAX_VALUE if empty.
|
double |
ParallelDoubleArray.min(Ops.DoubleComparator comparator)
Returns the minimum element, or Double.MAX_VALUE if empty.
|
double |
ParallelDoubleArrayWithDoubleMapping.min(Ops.DoubleComparator comparator)
Returns the minimum element, or Double.MAX_VALUE if empty.
|
double |
ParallelLongArrayWithDoubleMapping.min(Ops.DoubleComparator comparator)
Returns the minimum element, or Double.MAX_VALUE if empty.
|
ParallelDoubleArrayWithBounds |
AbstractParallelAnyArray.DUPap.sort(Ops.DoubleComparator cmp) |
ParallelDoubleArray |
ParallelDoubleArray.sort(Ops.DoubleComparator comparator)
Sorts the array.
|
abstract ParallelDoubleArrayWithBounds |
ParallelDoubleArrayWithBounds.sort(Ops.DoubleComparator cmp)
Sorts the elements.
|
ParallelDoubleArray.SummaryStatistics |
ParallelArrayWithDoubleMapping.summary(Ops.DoubleComparator comparator)
Returns summary statistics.
|
ParallelDoubleArray.SummaryStatistics |
ParallelDoubleArray.summary(Ops.DoubleComparator comparator)
Returns summary statistics, using the given comparator
to locate minimum and maximum elements.
|
ParallelDoubleArray.SummaryStatistics |
ParallelDoubleArrayWithDoubleMapping.summary(Ops.DoubleComparator comparator)
Returns summary statistics.
|
ParallelDoubleArray.SummaryStatistics |
ParallelLongArrayWithDoubleMapping.summary(Ops.DoubleComparator comparator)
Returns summary statistics.
|
Constructor and Description |
---|
PAS.FJDMerger(Ops.DoubleComparator cmp,
double[] a,
double[] w,
int lo,
int ln,
int ro,
int rn,
int wo,
int gran,
PAS.FJDMerger next) |
PAS.FJDSorter(Ops.DoubleComparator cmp,
double[] a,
double[] w,
int origin,
int n,
int gran) |
PAS.FJDStats(AbstractParallelAnyArray pap,
int lo,
int hi,
PAS.FJBase next,
Ops.DoubleComparator comparator) |