withArg2

abstract fun withArg2(value: A2, representation: String? = null): Args4<A1, A2, A3, A4>

Creates a new Args4 by coping this Args4 but replaces the argument 2 (Args4.a2) with the given value (and its representation with the given representation).

Return

The newly created Args4.

Since

1.0.0

Parameters

value

the new value to use for argument 2.

representation

the new representation to use for the argument 2 where null means let the algorithm determine a representation.