StringGenerator

abstract class StringGenerator

A StringGenerator generates random strings composed of characters. What these characters are and their distribution depends on a subclass.

See also

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun ofCodePointsLength(r: Random, minCodePoints: Int, maxCodePoints: Int): String
Link copied to clipboard
abstract fun ofCodeUnitsLength(r: Random, minCodeUnits: Int, maxCodeUnits: Int): String
Link copied to clipboard
fun ofStringLength(r: Random, minCodeUnits: Int, maxCodeUnits: Int): String

An alias for ofCodeUnitsLength.