doc / ch.tutteli.atrium.api.cc.infix.en_GB / Pairs

Pairs

class Pairs<out K, out V> : VarArgHelper<<ERROR CLASS><K, V>> (source)

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

Constructors

<init>

Pairs(expected: <ERROR CLASS><K, V>, vararg otherExpected: <ERROR CLASS><K, V>)

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

Properties

expected

val expected: <ERROR CLASS><K, V>

The first argument in the argument list T, vararg T

otherExpected

vararg val otherExpected: Array<out <ERROR CLASS><K, V>>

The second argument in the argument list T, vararg T

Inherited Properties

mapArguments

open val mapArguments: ArgumentMapperBuilder<T>

Creates an ArgumentMapperBuilder which allows to map expected and otherExpected.

Inherited Functions

toList

open fun toList(): List<T>

Returns the arguments as List.