TieMethod

Controls how tied (equal) values are assigned ranks.

When multiple elements share the same value, they occupy consecutive rank positions. This enum determines which rank each tied element receives.

Entries

Link copied to clipboard

Assigns each tied element the average of the positions they occupy.

Link copied to clipboard

Assigns each tied element the lowest position in the tie group.

Link copied to clipboard

Assigns each tied element the highest position in the tie group.

Link copied to clipboard

Assigns consecutive integer ranks to distinct values, ignoring gaps.

Link copied to clipboard

Assigns each element a unique rank based on its position after sorting.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun valueOf(value: String): TieMethod

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.