doc / ch.tutteli.atrium.domain.builders.utils / VarArgHelper

VarArgHelper

interface VarArgHelper<out T>

Represents a parameter object used to express the arguments T, vararg T and provides utility functions to transform them.

Properties

expected

abstract val expected: T

The first argument in the argument list T, vararg T

mapArguments

open val mapArguments: ArgumentMapperBuilder<T>

Creates an ArgumentMapperBuilder which allows to map expected and otherExpected.

otherExpected

abstract val otherExpected: Array<out T>

The second argument in the argument list T, vararg T

Functions

toList

open fun toList(): List<T>

Returns the arguments as List.

Inheritors

All

class All<out T> : VarArgHelper<T>

Parameter object to express T, vararg T in the infix-api.

Eintraege

class Eintraege<in T : Any> : GroupWithoutNullableEntries<((Assert<T>) -> Unit)?>, GroupWithNullableEntries<((Assert<T>) -> Unit)?>, VarArgHelper<((Assert<T>) -> Unit)?>

Parameter object to express a Group of identification lambdas.

Entries

class Entries<in T : Any> : GroupWithoutNullableEntries<(Assert<T>.() -> Unit)?>, GroupWithNullableEntries<(Assert<T>.() -> Unit)?>, VarArgHelper<(Assert<T>.() -> Unit)?>

Parameter object to express a Group of identification lambdas.

Entries

class Entries<in T : Any> : GroupWithoutNullableEntries<(Assert<T>.() -> Unit)?>, GroupWithNullableEntries<(Assert<T>.() -> Unit)?>, VarArgHelper<(Assert<T>.() -> Unit)?>

Parameter object to express a Group of identification lambdas.

Entries

class Entries<T : Any> : GroupWithoutNullableEntries<(Expect<T>.() -> Unit)?>, GroupWithNullableEntries<(Expect<T>.() -> Unit)?>, VarArgHelper<(Expect<T>.() -> Unit)?>

Parameter object to express a Group of identification lambdas.

Pairs

class Pairs<out K, out V> : VarArgHelper<Pair<K, V>>

Parameter object to express Pair<K, V>, vararg Pair<K, V> in the infix-api.

RegexPatterns

class RegexPatterns : VarArgHelper<String>

Parameter object to express String, vararg String in the infix-api.

Values

class Values<out T> : GroupWithoutNullableEntries<T>, GroupWithNullableEntries<T>, VarArgHelper<T>

Represents a Group of multiple values.

Values

class Values<out T> : GroupWithoutNullableEntries<T>, GroupWithNullableEntries<T>, VarArgHelper<T>

Represents a Group of multiple values.

Values

class Values<out T> : GroupWithoutNullableEntries<T>, GroupWithNullableEntries<T>, VarArgHelper<T>

Represents a Group of multiple values.

Werte

class Werte<out T> : GroupWithoutNullableEntries<T>, GroupWithNullableEntries<T>, VarArgHelper<T>

Represents a GroupWithoutNullableEntries of multiple values.