withArg1

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

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

Return

The newly created Args2.

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.