The method {@code nextBoolean} is implemented by class {@code Random}as if by:
{@code}public boolean nextBoolean() return next(1) != 0; }}@return the next pseudorandom, uniformly distributed{@code boolean} value from this random number generator'ssequence @since 1.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|