A range describes the bounds of a number to generate, which may or may not be dependent on a 'Size'.
- Value parameters:
- bounds
Get the extents of a range, for a given size.
- origin
Get the origin of a range. This might be the mid-point or the lower bound, depending on what the range represents. The 'bounds' of a range are scaled around this value when using the 'linear' family of combinators. When using a 'Range' to generate numbers, the shrinking function will shrink towards the origin.
- Companion:
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any