setRange

fun setRange(minimum: Int, maximum: Int)

Sets the range for the distribution the lower limit must be < upper limit

Parameters

minimum

The lower limit for the range

maximum

The upper limit for the range


fun setRange(range: IntRange)

Parameters

range

sets the range using an IntRange