public enum PresenceCodec extends Enum<PresenceCodec>
| Enum Constant and Description |
|---|
NULL_VAL
To be used to represent not present or null.
|
SBE_CONSTANT
A field is a constant value.
|
SBE_OPTIONAL
A field is optional.
|
SBE_REQUIRED
A field is required.
|
| Modifier and Type | Method and Description |
|---|---|
static PresenceCodec |
get(short value)
Lookup the enum value representing the value.
|
short |
value()
The raw encoded value in the Java type representation.
|
static PresenceCodec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PresenceCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PresenceCodec SBE_REQUIRED
public static final PresenceCodec SBE_OPTIONAL
public static final PresenceCodec SBE_CONSTANT
public static final PresenceCodec NULL_VAL
public static PresenceCodec[] values()
for (PresenceCodec c : PresenceCodec.values()) System.out.println(c);
public static PresenceCodec 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 PresenceCodec get(short value)
value - encoded to be looked up.Copyright © 2013-2024 Real Logic Limited. All Rights Reserved.