Random.Random
Class Overview | Class Members |
This Package |
All Packages
public Random()
Description
Creates a new random number generator. Its seed is initialized to
a value based on the current time.
See Also
currentTimeMillis
public Random( long seed )
Parameters
- seed
- the initial seed.
Description
Creates a new random number generator using a single
long seed.
See Also
setSeed