- All Implemented Interfaces:
Serializable,Comparable<DataType>,java.lang.constant.Constable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBinary string values.doublevalues.Fixed size 32 bitintvalues.floatvalues.Fixed size 64 bitlongvalues.Unsinedintvalues.Unsinedlongvalues.Object values.sinedintvalues.Sinedlongvalues.Stringvalues. -
Method Summary
-
Enum Constant Details
-
INT
Unsinedintvalues.All array entries must be written using
DataWriter.value(int). -
SINT
sinedintvalues.All array entries must be written using
DataWriter.valueSigned(int). -
FINT
Fixed size 32 bitintvalues.All array entries must be written using
DataWriter.valueFixed(int). -
FLOAT
floatvalues.All array entries must be written using
DataWriter.value(float). -
LONG
Unsinedlongvalues.All array entries must be written using
DataWriter.value(long). -
SLONG
Sinedlongvalues.All array entries must be written using
DataWriter.valueSigned(long). -
FLONG
Fixed size 64 bitlongvalues.All array entries must be written using
DataWriter.valueFixed(long). -
DOUBLE
doublevalues.All array entries must be written using
DataWriter.value(double). -
STRING
Stringvalues.All array entries must be written using
DataWriter.value(String). -
BINARY
Binary string values.All array entries must be written using
DataWriter.value(byte[]). -
OBJECT
Object values.All array entries must be written with the
DataWriter.beginObject()/DataWriter.endObject()pair of methods.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-