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

OuterClass.InnerEnum

public enum OuterClass.InnerEnum extends Enum

java.lang.Object
   ↳ kotlin.Enum
     ↳ dokkatest.inner.OuterClass.InnerEnum

I offer choices.

Summary

Enum Values

A

I'm first.

B

Second!

C

Third

Public methods

final @NonNull EnumEntries<@NonNull OuterClass.InnerEnum>

I offer choices.

final @NonNull OuterClass.InnerEnum

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

final @NonNull OuterClass.InnerEnum[]

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

Enum Values

A

OuterClass.InnerEnum OuterClass.InnerEnum.A

I'm first.

B

OuterClass.InnerEnum OuterClass.InnerEnum.B

Second!

C

OuterClass.InnerEnum OuterClass.InnerEnum.C

Third

Public methods

getEntries

public final @NonNull EnumEntries<@NonNull OuterClass.InnerEnumgetEntries()

I offer choices.

valueOf

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