set

operator fun set(index: Int, value: Any?)

Set the element at the given index. Enables indexed modifications to the DittoRGA values.

Parameters

index

The index of the value to overwrite. If this value is at the end of the DittoRGA, the value will be appended to the end of the DittoRGA.

value

The value to set at the specified index.