Order

enum Order : Enum<AbstractNumberDescriptor.Order>

An Order is an indication of how two numbers are related numerically.

Entries

Link copied to clipboard

The first number is less than the second number.

Link copied to clipboard

The first number is greater than the second number.

Link copied to clipboard

The first number is numerically equivalent to the second number.

Link copied to clipboard

The first number is not comparable to the second number. This is the case precisely when one of the values is a not-a-number.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun isEqual(): Boolean

Answer whether the first value is numerically equivalent to the second value.

Link copied to clipboard
fun isIncomparable(): Boolean

Answer whether the first value is numerically incomparable to the second value. This is the case precisely when one of the values is a not-a-number.

Link copied to clipboard
fun isLess(): Boolean

Answer whether the first value is less than the second value.

Link copied to clipboard
fun isLessOrEqual(): Boolean

Answer whether the first value is less than or equivalent to the second value.

Link copied to clipboard
fun isMore(): Boolean

Answer whether the first value is more than the second value.

Link copied to clipboard
fun isMoreOrEqual(): Boolean

Answer whether the first value is more than or equivalent to the second value.

Link copied to clipboard
fun reverse(): AbstractNumberDescriptor.Order

Answer the Order which is to (y,x) as the receiver is to (x,y).

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int