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

ViewDebug.IntToString

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

annotation ViewDebug.IntToString


Defines a mapping from an int value to a String. Such a mapping can be usedin an @ExportedProperty to provide more meaningful values to the end user.

See also
ViewDebug.ExportedProperty

Summary

Public methods

abstract @NonNull int

The original int value to map to a String.

abstract @NonNull String
to()

The String to use in place of the original int value.

Public methods

from

@NonNull
public abstract int from()

The original int value to map to a String.

Returns
int

An arbitrary int value.

to

@NonNull
public abstract String to()

The String to use in place of the original int value.

Returns
String

An arbitrary non-null String.