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

Comparing jsr166/src/main/java/util/Random.java (file contents):
Revision 1.26 by jsr166, Sun Sep 5 21:32:19 2010 UTC vs.
Revision 1.28 by jsr166, Mon Sep 27 19:15:15 2010 UTC

# Line 77 | Line 77 | class Random implements java.io.Serializ
77       */
78      private final AtomicLong seed;
79  
80 <    private final static long multiplier = 0x5DEECE66DL;
81 <    private final static long addend = 0xBL;
82 <    private final static long mask = (1L << 48) - 1;
80 >    private static final long multiplier = 0x5DEECE66DL;
81 >    private static final long addend = 0xBL;
82 >    private static final long mask = (1L << 48) - 1;
83  
84      /**
85       * Creates a new random number generator. This constructor sets
# Line 268 | Line 268 | class Random implements java.io.Serializ
268       * @return the next pseudorandom, uniformly distributed {@code int}
269       *         value between {@code 0} (inclusive) and {@code n} (exclusive)
270       *         from this random number generator's sequence
271 <     * @exception IllegalArgumentException if n is not positive
271 >     * @throws IllegalArgumentException if n is not positive
272       * @since 1.2
273       */
274  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines