enum State.Wrap


Summary

Enum Values

ALIGNED
CHAIN
NONE

Public functions

java-static State.Wrap!

Get the Enum value with a String

java-static Int

Get the actual int value with a String

java-static State.Wrap!
valueOf(name: String!)

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

java-static Array<State.Wrap!>!

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

Public properties

java-static (Mutable)Map<String!, Int!>!
java-static (Mutable)Map<String!, State.Wrap!>!

Enum Values

Public functions

getChainByString

Added in 1.1.0-alpha13
java-static fun getChainByString(str: String!): State.Wrap!

Get the Enum value with a String

Parameters
str: String!

a String representation of a Enum value

Returns
State.Wrap!

a Enum value

getValueByString

Added in 1.1.0-alpha13
java-static fun getValueByString(str: String!): Int

Get the actual int value with a String

Parameters
str: String!

a String representation of a Enum value

Returns
Int

a actual int value

valueOf

Added in 1.1.0-alpha13
java-static fun valueOf(name: String!): State.Wrap!

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.)

Returns
State.Wrap!

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

Added in 1.1.0-alpha13
java-static fun values(): Array<State.Wrap!>!

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.

Returns
Array<State.Wrap!>!

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

Public properties

valueMap

Added in 1.1.0-alpha13
java-static val valueMap: (Mutable)Map<String!, Int!>!

wrapMap

Added in 1.1.0-alpha13
java-static val wrapMap: (Mutable)Map<String!, State.Wrap!>!