max

open fun <U : Unit<U>?> max(measures: Array<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

<U>

the type of the units of the measures

measures

the set of measures to compare