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

Method nextInt

lib/java/util/Random.java:197–199  ·  view source on GitHub ↗

Generates a uniformly distributed 32-bit int value from the random number sequence. @return a uniformly distributed int value. @see java.lang.Integer#MAX_VALUE @see java.lang.Integer#MIN_VALUE @see #next @see #nextLong

()

Source from the content-addressed store, hash-verified

195 * @see #nextLong
196 */
197 public int nextInt() {
198 return next(32);
199 }
200
201 /**
202 * Returns a new pseudo-random {@code int} value which is uniformly distributed

Callers 3

nextBytesMethod · 0.95
genTempFileMethod · 0.80
shuffleMethod · 0.80

Calls 1

nextMethod · 0.95

Tested by

no test coverage detected