Random
object Random
class Object
trait Matchable
class Any
Value members
Concrete methods
Create a Random
that always generates the given value.
Create a Random
that always generates the given value.
Create a Random
that generates a Double
uniformly distributed
between 0.0 and 1.0.
Create a Random
that generates a Double
uniformly distributed
between 0.0 and 1.0.
Create a Random
that generates an Int
uniformly distributed across
the entire range.
Create a Random
that generates an Int
uniformly distributed across
the entire range.
Create a Random
that generates an Int
uniformly distributed in the
range greater than or equal to lower
and less than upper
.
Create a Random
that generates an Int
uniformly distributed in the
range greater than or equal to lower
and less than upper
.