public enum StateValueType extends Enum<StateValueType>
State
.
This setting determines the type of values that State.getValue()
can have.Enum Constant and Description |
---|
BOOLEAN
A
State can have a boolean value. |
DOUBLE_INTERVAL
The
State value is an interval specified using double precision numbers. |
INTEGER
A
State can have a integer value. |
NONE
A
State has no value. |
Modifier and Type | Method and Description |
---|---|
static StateValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateValueType NONE
State
has no value. It will still have a name however.public static final StateValueType DOUBLE_INTERVAL
State
value is an interval specified using double precision numbers.public static final StateValueType INTEGER
State
can have a integer value.public static final StateValueType BOOLEAN
State
can have a boolean value.public static StateValueType[] values()
for (StateValueType c : StateValueType.values()) System.out.println(c);
public static StateValueType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All rights reserved.