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.4 by jsr166, Mon Jul 20 21:54:51 2009 UTC vs.
Revision 1.6 by jsr166, Wed Jul 22 01:36:51 2009 UTC

# Line 27 | Line 27 | import java.util.*;
27   *
28   * <p>This class also provides additional commonly used bounded random
29   * generation methods.
30 + *
31 + * @since 1.7
32 + * @author Doug Lea
33   */
34   public class ThreadLocalRandom extends Random {
35      // same constants as Random, but must be redeclared because private
# Line 73 | Line 76 | public class ThreadLocalRandom extends R
76      }
77  
78      /**
79 <     * Returns the current Thread's ThreadLocalRandom
79 >     * Returns the current Thread's ThreadLocalRandom.
80       * @return the current Thread's ThreadLocalRandom
81       */
82      public static ThreadLocalRandom current() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines