mut_replace

Overwrites the state of this measure and replaces it with values from the given one.

Return

this measure

Parameters

other

the other measure to copy values from


fun mut_replace(magnitude: Double, unit: U): MutableMeasure<U>

Overwrites the state of this measure with new values.

Return

this measure

Parameters

magnitude

the new magnitude in terms of the new unit

unit

the new unit