State.Wrap
public enum State.Wrap
Summary
Public methods |
|
|---|---|
static State.Wrap |
getChainByString(String str)Get the Enum value with a String |
static int |
getValueByString(String str)Get the actual int value with a String |
static State.Wrap |
Returns the enum constant of this type with the specified name. |
static State.Wrap[] |
values()Returns an array containing the constants of this enum type, in the order they're declared. |
Public fields
Public methods
getChainByString
public static State.Wrap getChainByString(String str)
Get the Enum value with a String
| Parameters | |
|---|---|
String str |
a String representation of a Enum value |
| Returns | |
|---|---|
State.Wrap |
a Enum value |
getValueByString
public static int getValueByString(String str)
Get the actual int value with a String
| Parameters | |
|---|---|
String str |
a String representation of a Enum value |
| Returns | |
|---|---|
int |
a actual int value |
valueOf
public static State.Wrap valueOf(String name)
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
public static State.Wrap[] 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.
| Returns | |
|---|---|
State.Wrap[] |
an array containing the constants of this enum type, in the order they're declared |