Returns the next pseudo-random, uniformly distributed boolean value generated by this generator. @return a pseudo-random, uniformly distributed boolean value.
()
| 104 | * @return a pseudo-random, uniformly distributed boolean value. |
| 105 | */ |
| 106 | public boolean nextBoolean() { |
| 107 | return next(1) != 0; |
| 108 | } |
| 109 | |
| 110 | /** |
| 111 | * Modifies the {@code byte} array by a random sequence of {@code byte}s generated by this |