Package com.bayesserver
Enum StateValueType
- java.lang.Object
-
- java.lang.Enum<StateValueType>
-
- com.bayesserver.StateValueType
-
- All Implemented Interfaces:
Serializable
,Comparable<StateValueType>
public enum StateValueType extends Enum<StateValueType>
The type of value represented by aState
. This setting determines the type of values thatState.getValue()
can have.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
NONE
public static final StateValueType NONE
AState
has no value. It will still have a name however.
-
DOUBLE_INTERVAL
public static final StateValueType DOUBLE_INTERVAL
TheState
value is an interval specified using double precision numbers.
-
INTEGER
public static final StateValueType INTEGER
AState
can have a integer value.
-
BOOLEAN
public static final StateValueType BOOLEAN
AState
can have a boolean value.
-
-
Method Detail
-
values
public static StateValueType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StateValueType c : StateValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StateValueType 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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-