intellij-randomness / com.fwdekker.randomness / DummyInsertArrayAction

DummyInsertArrayAction

class DummyInsertArrayAction : DataInsertArrayAction

Inserts an array of dummy values.

Mostly for testing and demonstration purposes.

Parameters

arrayScheme - the scheme to use for generating arrays

dummySupplier - generates dummy values to insert

Constructors

<init>

DummyInsertArrayAction(arrayScheme: ArrayScheme = ArraySettings.default.currentScheme, dummySupplier: (Random) -> String)

Inserts an array of dummy values.

Properties

name

val name: String

The name of the action to display.

Inherited Functions

generateStrings

open fun generateStrings(count: Int): List<String>

Generates array-like strings of random data.