Index.Order


public enum Index.Order extends Enum


Summary

Enum Values

ASC

Ascending returning order.

DESC

Descending returning order.

Public methods

final @NonNull EnumEntries<@NonNull Index.Order>

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

final @NonNull Index.Order

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

final @NonNull Index.Order[]

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

Enum Values

ASC

Index.Order Index.Order.ASC

Ascending returning order.

See also
orders

DESC

Index.Order Index.Order.DESC

Descending returning order.

See also
orders

Public methods

getEntries

public final @NonNull EnumEntries<@NonNull Index.OrdergetEntries()

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

This method may be used to iterate over the enum entries.

valueOf

Added in 2.4.0
public final @NonNull Index.Order valueOf(@NonNull String value)

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
public final @NonNull Index.Order[] values()

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.