Package com.bayesserver.data
Enum TimeValueType
- java.lang.Object
-
- java.lang.Enum<TimeValueType>
-
- com.bayesserver.data.TimeValueType
-
- All Implemented Interfaces:
Serializable
,Comparable<TimeValueType>
public enum TimeValueType extends Enum<TimeValueType>
The type of values stored in a time column.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TimeValueType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TimeValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INDEX
public static final TimeValueType INDEX
The time column contains zero based time indexes. E.g. 0, 1, 5 maps to t=0, t=1, t=5.
-
VALUE
public static final TimeValueType VALUE
The time column contains values that can be sorted, and will be treated in sequence. E.g. 100, 200, 300 maps to t=0, t=1, t=2.
-
-
Method Detail
-
values
public static TimeValueType[] 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 (TimeValueType c : TimeValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeValueType 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
-
-