max

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

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

the type of the units of the measures
measures

the set of measures to compare