public enum State.Chain


Summary

Public fields

static Map<StringState.Chain>
static Map<StringInteger>

Public methods

static State.Chain

Get the actual int value with a String

static int

Get the Enum value with a String

static State.Chain

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

static State.Chain[]

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

Public fields

chainMap

Added in 1.1.0
public static Map<StringState.ChainchainMap

valueMap

Added in 1.1.0
public static Map<StringIntegervalueMap

Public methods

getChainByString

Added in 1.1.0
public static State.Chain getChainByString(String str)

Get the actual int value with a String

Parameters
String str

a String representation of a Enum value

Returns
State.Chain

an actual int value

getValueByString

Added in 1.1.0
public static int getValueByString(String str)

Get the Enum value with a String

Parameters
String str

a String representation of a Enum value

Returns
int

a Enum value

valueOf

Added in 1.1.0
public static State.Chain 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.Chain

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
public static State.Chain[] 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.Chain[]

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