Random.next

Random.next

Class Overview | Class Members | This Package | All Packages

Syntax
protected synchronized int next( int bits )
Parameters
bits
random bits
Returns
the next pseudorandom value from this random number generator's sequence.
Description
Generates the next pseudorandom number. Subclass should override this, as this is used by all other methods.