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

Method random

lib/java/lang/StrictMath.java:704–708  ·  view source on GitHub ↗

Returns a pseudo-random number between 0.0 (inclusive) and 1.0 (exclusive). @return a pseudo-random number.

()

Source from the content-addressed store, hash-verified

702 * @return a pseudo-random number.
703 */
704 public static double random() {
705 if (random == null)
706 random = new Random();
707 return random.nextDouble();
708 }
709
710 /**
711 * Returns the double conversion of the result of rounding the argument to

Callers

nothing calls this directly

Calls 1

nextDoubleMethod · 0.80

Tested by

no test coverage detected