interface Compare
source · line 125public
public interface Compare<Rhs>
The generic ordered-comparison protocol. Only the sign of compareTo matters to relational operators.
function compareTo
source · line 130public
public operator fun compareTo(other: Rhs): Long
Returns a negative number, zero, or a positive number when this value is before, equal to, or after the operand in the implementation's ordering.
parameter other
source · line 130public
other: Rhs
type parameter Rhs
source · line 125public
Rhs