|
|
java > java.util > java.util.random >
Class: java.util.Random java.lang.Object java.util.Random
public class Random extends Object implements Serializable
FIELDS:
CONSTRUCTORS:
| | | public | Random() |
| | public | Random(long seed) |
| |
|
|
|
METHODS:
| | | | protected | int | next(int bits) |
| | public | boolean | nextBoolean() |
| | public | void | nextBytes(byte[] bytes) Throws: NullPointerException |
| | public | double | nextDouble() |
| | public | float | nextFloat() |
| | public | double | nextGaussian() |
| | public | int | nextInt() |
| | public | int | nextInt(int n) Throws: IllegalArgumentException |
| | public | long | nextLong() |
| | public | void | setSeed(long seed) |
| |
|
|
|
INHERITED METHODS:
| getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(), |
|
|
|
SUBCLASSES:
|
|



|