tuweni / org.apache.tuweni.units.bigints / BaseUInt256Value / compareTo

compareTo

open fun compareTo(other: T): Int (source) open fun compareTo(other: UInt256!): Int (source)

Compare two UInt256 values.

Parameters

other - UInt256!: The value to compare to.

Return
Int: A negative integer, zero, or a positive integer as this value is less than, equal to, or greater than the specified value.