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

Comparing jsr166/src/jsr166y/ThreadLocalRandom.java (file contents):
Revision 1.3 by jsr166, Thu Mar 19 06:50:01 2009 UTC vs.
Revision 1.4 by jsr166, Mon Jul 20 21:54:51 2009 UTC

# Line 20 | Line 20 | import java.util.*;
20   * random numbers in parallel in thread pools.
21   *
22   * <p>Usages of this class should typically be of the form:
23 < * <code>ThreadLocalRandom.current().nextX(...)</code> (where
24 < * <code>X</code> is <code>Int</code>, <code>Long</code>, etc).
23 > * {@code ThreadLocalRandom.current().nextX(...)} (where
24 > * {@code X} is {@code Int}, {@code Long}, etc).
25   * When all usages are of this form, it is never possible to
26   * accidently share ThreadLocalRandoms across multiple threads.
27   *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines