[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.26, Wed Dec 31 07:54:13 2014 UTC revision 1.27, Sun Sep 13 16:28:14 2015 UTC
# Line 52  Line 52 
52   * types and ranges, but similar properties are expected to hold, at   * types and ranges, but similar properties are expected to hold, at
53   * least approximately, for others as well. The <em>period</em>   * least approximately, for others as well. The <em>period</em>
54   * (length of any series of generated values before it repeats) is at   * (length of any series of generated values before it repeats) is at
55   * least 2<sup>64</sup>. </li>   * least 2<sup>64</sup>.
56   *   *
57   * <li> Method {@link #split} constructs and returns a new   * <li> Method {@link #split} constructs and returns a new
58   * SplittableRandom instance that shares no mutable state with the   * SplittableRandom instance that shares no mutable state with the
# Line 60  Line 60 
60   * values collectively generated by the two objects have the same   * values collectively generated by the two objects have the same
61   * statistical properties as if the same quantity of values were   * statistical properties as if the same quantity of values were
62   * generated by a single thread using a single {@code   * generated by a single thread using a single {@code
63   * SplittableRandom} object.  </li>   * SplittableRandom} object.
64   *   *
65   * <li>Instances of SplittableRandom are <em>not</em> thread-safe.   * <li>Instances of SplittableRandom are <em>not</em> thread-safe.
66   * They are designed to be split, not shared, across threads. For   * They are designed to be split, not shared, across threads. For
# Line 71  Line 71 
71   *   *
72   * <li>This class provides additional methods for generating random   * <li>This class provides additional methods for generating random
73   * streams, that employ the above techniques when used in {@code   * streams, that employ the above techniques when used in {@code
74   * stream.parallel()} mode.</li>   * stream.parallel()} mode.
75   *   *
76   * </ul>   * </ul>
77   *   *

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8