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

Comparing jsr166/src/main/java/util/concurrent/ThreadLocalRandom.java (file contents):
Revision 1.36 by jsr166, Sat Sep 19 21:39:03 2015 UTC vs.
Revision 1.37 by jsr166, Sun Sep 20 02:42:13 2015 UTC

# Line 762 | Line 762 | public class ThreadLocalRandom extends R
762       * approach. The long and double versions of this class are
763       * identical except for types.
764       */
765 <    static final class RandomIntsSpliterator implements Spliterator.OfInt {
765 >    private static final class RandomIntsSpliterator
766 >            implements Spliterator.OfInt {
767          long index;
768          final long fence;
769          final int origin;
# Line 816 | Line 817 | public class ThreadLocalRandom extends R
817      /**
818       * Spliterator for long streams.
819       */
820 <    static final class RandomLongsSpliterator implements Spliterator.OfLong {
820 >    private static final class RandomLongsSpliterator
821 >            implements Spliterator.OfLong {
822          long index;
823          final long fence;
824          final long origin;
# Line 871 | Line 873 | public class ThreadLocalRandom extends R
873      /**
874       * Spliterator for double streams.
875       */
876 <    static final class RandomDoublesSpliterator implements Spliterator.OfDouble {
876 >    private static final class RandomDoublesSpliterator
877 >            implements Spliterator.OfDouble {
878          long index;
879          final long fence;
880          final double origin;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines