Package java.util
Class Random

Public Method nextBoolean

boolean nextBoolean()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns the next random, uniformly distributed boolean value from this random nubmer generator's sequence. The general contract of nextBoolean is that one boolean value is randomly generated and returned.

Example

   Random rand = new Random();
   Logger.log("random boolean: " + rand.nextBoolean());

The nextBoolean method returns the next random boolean value.