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

InspectableProperty.EnumEntry

{% setvar page_path %}dokkatest/platform/InspectableProperty.EnumEntry.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_java_switcher2.md" %}

annotation InspectableProperty.EnumEntry


One entry in an enumeration packed into a primitive {int}.

See also
IntEnumMapping

Summary

Public methods

abstract @NonNull String

The string name of this enumeration value.

abstract @NonNull int

The integer value of this enumeration value.

Public methods

name

@NonNull
public abstract String name()

The string name of this enumeration value.

Returns
String

A string name

value

@NonNull
public abstract int value()

The integer value of this enumeration value.

Returns
int

An integer value