Seed

value class Seed(val value: Int)(source)

Represents the Variist seed, typically used for kotlin.random.Random and as offset in SemiOrderedArgsGenerator.generate.

Use value to retrieve the seed as such (e.g. for kotlin.random.Random) and toOffset in case it shall be used as random offset.

Since

2.0.0

Constructors

Link copied to clipboard
constructor(value: Int)

Properties

Link copied to clipboard
val value: Int

Functions

Link copied to clipboard

Turns this seed into a positive Int so that it can be used as offset in an SemiOrderedArgsGenerator.

Link copied to clipboard
open override fun toString(): String