public enum PrimitiveTypeCodec extends Enum<PrimitiveTypeCodec>
| Enum Constant and Description |
|---|
CHAR |
DOUBLE |
FLOAT |
INT16 |
INT32 |
INT64 |
INT8 |
NONE |
NULL_VAL
To be used to represent not present or null.
|
UINT16 |
UINT32 |
UINT64 |
UINT8 |
| 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-2021 Real Logic Limited. All Rights Reserved.