map

fun <T, R> ArbArgsGenerator<T>.map(transform: (T) -> R): ArbArgsGenerator<R>(source)

Maps the values this ArbArgsGenerator generates to type R with the help of the given transform function.

Return

The resulting ArbArgsGenerator which generates values of type R.

Since

2.0.0

Parameters

transform

The transformation function which takes a T and produces an R.

T

The type of values generated by this ArbArgsGenerator.

R

the type of values generated by the resulting ArbArgsGenerator.


fun <T, R> OrderedArgsGenerator<T>.map(transform: (T) -> R): OrderedArgsGenerator<R>(source)

Maps the values this OrderedArgsGenerator generates to type R with the help of the given transform function.

Return

The resulting OrderedArgsGenerator which generates values of type R.

Since

2.0.0

Parameters

transform

The transformation function which takes a T and produces an R.

T

The type of values generated by this OrderedArgsGenerator.

R

the type of values generated by the resulting OrderedArgsGenerator.


Maps the values this SemiOrderedArgsGenerator generates to type R with the help of the given transform function.

Return

The resulting SemiOrderedArgsGenerator which generates values of type R.

Since

2.0.0

Parameters

transform

The transformation function which takes a T and produces an R.

T

The type of values generated by this SemiOrderedArgsGenerator.

R

the type of values generated by the resulting SemiOrderedArgsGenerator.