public enum PrimitiveTypeCodec extends Enum<PrimitiveTypeCodec>
| Enum Constant and Description |
|---|
CHAR
Single byte character encoding in ASCII.
|
DOUBLE
64-bit double precision floating point.
|
FLOAT
32-bit single precision floating point.
|
INT16
16-bit signed integer.
|
INT32
32-bit signed integer.
|
INT64
64-bit signed integer.
|
INT8
8-bit signed integer.
|
NONE
No type is provided.
|
NULL_VAL
To be used to represent not present or null.
|
UINT16
16-bit unsigned integer.
|
UINT32
32-bit unsigned integer.
|
UINT64
64-bit unsigned integer.
|
UINT8
8-bit unsigned integer.
|
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveTypeCodec |
get(short value)
Lookup the enum value representing the value.
|
short |
value()
The raw encoded value in the Java type representation.
|
static PrimitiveTypeCodec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveTypeCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveTypeCodec NONE
public static final PrimitiveTypeCodec CHAR
public static final PrimitiveTypeCodec INT8
public static final PrimitiveTypeCodec INT16
public static final PrimitiveTypeCodec INT32
public static final PrimitiveTypeCodec INT64
public static final PrimitiveTypeCodec UINT8
public static final PrimitiveTypeCodec UINT16
public static final PrimitiveTypeCodec UINT32
public static final PrimitiveTypeCodec UINT64
public static final PrimitiveTypeCodec FLOAT
public static final PrimitiveTypeCodec DOUBLE
public static final PrimitiveTypeCodec NULL_VAL
public static PrimitiveTypeCodec[] values()
for (PrimitiveTypeCodec c : PrimitiveTypeCodec.values()) System.out.println(c);
public static PrimitiveTypeCodec 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 nullpublic short value()
public static PrimitiveTypeCodec get(short value)
value - encoded to be looked up.Copyright © 2013-2024 Real Logic Limited. All Rights Reserved.