86 |
|
*/ |
87 |
|
public int anyIndex() { |
88 |
|
if (!hasFilter()) |
89 |
< |
return (origin < fence)? origin : -1; |
89 |
> |
return (origin < fence) ? origin : -1; |
90 |
|
AtomicInteger result = new AtomicInteger(-1); |
91 |
|
PAS.FJSelectAny f = new PAS.FJSelectAny |
92 |
|
(this, origin, fence, null, result); |
118 |
|
*/ |
119 |
|
final int getThreshold() { |
120 |
|
int t = threshold; |
121 |
< |
if (t == 0) |
121 |
> |
if (t == 0) |
122 |
|
t = computeThreshold(); |
123 |
|
return t; |
124 |
|
} |
2383 |
|
} |
2384 |
|
|
2385 |
|
public ParallelDoubleArrayWithDoubleMapping withMapping |
2386 |
< |
(ObjectToDouble<? super U> op){ |
2386 |
> |
(ObjectToDouble<? super U> op) { |
2387 |
|
return new DUDMPap(ex, origin, fence, array, |
2388 |
|
CommonOps.compoundOp(this.op, op)); |
2389 |
|
} |
4893 |
|
} |
4894 |
|
|
4895 |
|
public ParallelDoubleArrayWithLongMapping withMapping(DoubleToLong op) { |
4896 |
< |
return new DFLCPap (ex, origin, fence, array, selector, |
4897 |
< |
compoundIndexedOp(this.op, op)); |
4896 |
> |
return new DFLCPap(ex, origin, fence, array, selector, |
4897 |
> |
compoundIndexedOp(this.op, op)); |
4898 |
|
} |
4899 |
|
|
4900 |
|
public <U> ParallelDoubleArrayWithMapping< U> withMapping |
5131 |
|
} |
5132 |
|
|
5133 |
|
public ParallelDoubleArrayWithLongMapping withMapping(DoubleToLong op) { |
5134 |
< |
return new DRLCPap (ex, origin, fence, array, selector, |
5135 |
< |
compoundIndexedOp(this.op, op)); |
5134 |
> |
return new DRLCPap(ex, origin, fence, array, selector, |
5135 |
> |
compoundIndexedOp(this.op, op)); |
5136 |
|
} |
5137 |
|
|
5138 |
|
public <U> ParallelDoubleArrayWithMapping< U> withMapping |