tuweni / org.apache.tuweni.units.bigints / UInt256s / max

max

static fun <T : UInt256Value<T>!> max(v1: T, v2: T): T (source)

Returns the maximum of two UInt256 values.

Parameters

v1 - T: The first value.

v2 - T: The second value.

- The concrete type of the two values.

Return
T: The maximum of v1 and v2.