State.Wrap
enum State.Wrap
Summary
Public functions |
|
|---|---|
java-static State.Wrap! |
getChainByString(str: String!)Get the Enum value with a String |
java-static Int |
getValueByString(str: String!)Get the actual int value with a String |
java-static State.Wrap! |
Returns the enum constant of this type with the specified name. |
java-static Array<State.Wrap!>! |
values()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
ALIGNED
val State.Wrap.ALIGNED: State.Wrap
CHAIN
val State.Wrap.CHAIN: State.Wrap
NONE
val State.Wrap.NONE: State.Wrap
Public functions
getChainByString
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
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
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
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 |