Package org.yamcs.yarch
Enum DataType._type
- java.lang.Object
-
- java.lang.Enum<DataType._type>
-
- org.yamcs.yarch.DataType._type
-
- All Implemented Interfaces:
Serializable
,Comparable<DataType._type>
- Enclosing class:
- DataType
public static enum DataType._type extends Enum<DataType._type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataType._type
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataType._type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BYTE
public static final DataType._type BYTE
-
SHORT
public static final DataType._type SHORT
-
INT
public static final DataType._type INT
-
LONG
public static final DataType._type LONG
-
DOUBLE
public static final DataType._type DOUBLE
-
TIMESTAMP
public static final DataType._type TIMESTAMP
-
STRING
public static final DataType._type STRING
-
BINARY
public static final DataType._type BINARY
-
BOOLEAN
public static final DataType._type BOOLEAN
-
ENUM
public static final DataType._type ENUM
-
PROTOBUF
public static final DataType._type PROTOBUF
-
PARAMETER_VALUE
public static final DataType._type PARAMETER_VALUE
-
TUPLE
public static final DataType._type TUPLE
-
LIST
public static final DataType._type LIST
-
HRES_TIMESTAMP
public static final DataType._type HRES_TIMESTAMP
-
UUID
public static final DataType._type UUID
-
-
Method Detail
-
values
public static DataType._type[] 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 (DataType._type c : DataType._type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataType._type 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
-
-