ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/ArrayPrefixHelpers.java
(Generate patch)

Comparing jsr166/src/main/java/util/ArrayPrefixHelpers.java (file contents):
Revision 1.6 by jsr166, Sat Sep 19 18:51:03 2015 UTC vs.
Revision 1.7 by jsr166, Sun Sep 20 15:33:12 2015 UTC

# Line 72 | Line 72 | class ArrayPrefixHelpers {
72      /** The smallest subtask array partition size to use as threshold */
73      static final int MIN_PARTITION = 16;
74  
75 <    static final class CumulateTask<T> extends CountedCompleter<Void> {
75 >    private static final class CumulateTask<T>
76 >            extends CountedCompleter<Void> {
77          final T[] array;
78          final BinaryOperator<T> function;
79          CumulateTask<T> left, right;
# Line 210 | Line 211 | class ArrayPrefixHelpers {
211          private static final long serialVersionUID = 5293554502939613543L;
212      }
213  
214 <    static final class LongCumulateTask extends CountedCompleter<Void> {
214 >    private static final class LongCumulateTask
215 >            extends CountedCompleter<Void> {
216          final long[] array;
217          final LongBinaryOperator function;
218          LongCumulateTask left, right;
# Line 346 | Line 348 | class ArrayPrefixHelpers {
348          private static final long serialVersionUID = -5074099945909284273L;
349      }
350  
351 <    static final class DoubleCumulateTask extends CountedCompleter<Void> {
351 >    private static final class DoubleCumulateTask
352 >            extends CountedCompleter<Void> {
353          final double[] array;
354          final DoubleBinaryOperator function;
355          DoubleCumulateTask left, right;
# Line 482 | Line 485 | class ArrayPrefixHelpers {
485          private static final long serialVersionUID = -586947823794232033L;
486      }
487  
488 <    static final class IntCumulateTask extends CountedCompleter<Void> {
488 >    private static final class IntCumulateTask
489 >            extends CountedCompleter<Void> {
490          final int[] array;
491          final IntBinaryOperator function;
492          IntCumulateTask left, right;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines