withArg1

abstract fun withArg1(value: A1, representation: String? = null): Args1<A1>

Creates a new Args1 by coping this Args1 but replaces the argument 1 (Args1.a1) with the given value (and its representation with the given representation).

Return

The newly created Args1.

Since

1.0.0

Parameters

value

the new value to use for argument 1.

representation

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