Index.Order

enum Index.Order : Enum


Summary

Enum Values

ASC

Ascending returning order.

DESC

Descending returning order.

Public functions

Index.Order
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<Index.Order>

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

Enum Values

ASC

val Index.Order.ASCIndex.Order

Ascending returning order.

See also
orders

DESC

val Index.Order.DESCIndex.Order

Descending returning order.

See also
orders

Public functions

valueOf

Added in 2.4.0
fun valueOf(value: String): Index.Order

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.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

Added in 2.4.0
fun values(): Array<Index.Order>

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

This method may be used to iterate over the constants.