MCPcopy Create free account
hub / github.com/davidgiven/luje / nextBoolean

Method nextBoolean

lib/java/util/Random.java:106–108  ·  view source on GitHub ↗

Returns the next pseudo-random, uniformly distributed boolean value generated by this generator. @return a pseudo-random, uniformly distributed boolean value.

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

nextMethod · 0.95

Tested by

no test coverage detected