[cvs] / jsr166 / src / main / java / util / SplittableRandom.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/SplittableRandom.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28, Sat Sep 19 21:07:10 2015 UTC revision 1.29, Sun Sep 20 02:41:36 2015 UTC
# Line 825  Line 825 
825       * approach. The long and double versions of this class are       * approach. The long and double versions of this class are
826       * identical except for types.       * identical except for types.
827       */       */
828      static final class RandomIntsSpliterator implements Spliterator.OfInt {      private static final class RandomIntsSpliterator
829                implements Spliterator.OfInt {
830          final SplittableRandom rng;          final SplittableRandom rng;
831          long index;          long index;
832          final long fence;          final long fence;
# Line 880  Line 881 
881      /**      /**
882       * Spliterator for long streams.       * Spliterator for long streams.
883       */       */
884      static final class RandomLongsSpliterator implements Spliterator.OfLong {      private static final class RandomLongsSpliterator
885                implements Spliterator.OfLong {
886          final SplittableRandom rng;          final SplittableRandom rng;
887          long index;          long index;
888          final long fence;          final long fence;
# Line 936  Line 938 
938      /**      /**
939       * Spliterator for double streams.       * Spliterator for double streams.
940       */       */
941      static final class RandomDoublesSpliterator implements Spliterator.OfDouble {      private static final class RandomDoublesSpliterator
942                implements Spliterator.OfDouble {
943          final SplittableRandom rng;          final SplittableRandom rng;
944          long index;          long index;
945          final long fence;          final long fence;

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8