max

fun <U : Unit<U>> max(vararg measures: Measure<U>): Measure<U>?(source)

Returns the measure with the absolute value closest to positive infinity.

Return

the measure with the greatest positive magnitude, or null if no measures were provided

Parameters

measures

the set of measures to compare

Type Parameters

U

the type of the units of the measures