{% setvar book_path %}/reference/dokkatest/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

Three

public enum Three extends Enum

java.lang.Object
   ↳ kotlin.Enum
     ↳ dokkatest.simple.Three

Summary

Enum Values

A
B
C

This enum value is deprecated. use B

Public methods

final @NonNull EnumEntries<@NonNull Three>

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

final @NonNull String
final @NonNull Three

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

final @NonNull Three[]

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

Enum Values

A

Three Three.A

B

Three Three.B

C

Three Three.C

Public methods

getEntries

public final @NonNull EnumEntries<@NonNull ThreegetEntries()

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.

getLetter

public final @NonNull String getLetter()

valueOf

public final @NonNull Three 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

public final @NonNull Three[] 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.