getInstance

abstract fun getInstance(random: Random): PublicApi.Generator<T>

Instantiates a Generator

Return

a instance of a Generator

See also

kotlin.random.Random

Parameters

random

a shared instance of Random.