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

Method random

lib/java/lang/Math.java:863–868  ·  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

861 * @return a pseudo-random number.
862 */
863 public static double random() {
864 if (random == null) {
865 random = new java.util.Random();
866 }
867 return random.nextDouble();
868 }
869
870 /**
871 * Returns the measure in radians of the supplied degree angle. The result

Callers

nothing calls this directly

Calls 1

nextDoubleMethod · 0.80

Tested by

no test coverage detected